Found something funny while going through my old "Intro to Programming" homework
It seems to be in Python.
def main():
import time
print("This little program here will convert miles into kilometers, for all you British types!")
miles=eval(input("Enter the jolly old amount miles, chap! "))
print("Oh good! Now I'll just pop off and crunch the bleeding numbers, eh wot!")
kilo=miles*0.62
time.sleep(4)
print("Here we are, old chap!", miles, "miles is", kilo, "kilometers! Cheerio!")
main()
I also remember making a program that asks complicated math questions and insults your intelligence if you get them wrong, but I can't find it.
I'm not surprised I got a C- in that class.
- 3
3 Comments
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Join the herd!Sign in
Already have an account? Sign in here.
Sign In Now