Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("I am Marvin, the paraoid bot.")
- users_name = input("Do you have a name, or should I just grunt in discust? ")
- print("Welcome to this miserable world " + users_name + ". ")
- input1 = input("I am, at a rough estimate, thirty billion time more intellegent than you. Give me a number, any number. ")
- input2 = input("Wrong. You see? \nNow give me another. ")
- number1 = int(input1)
- number2 = int(input2)
- result = number1 + number2
- output = str(result)
- print("The total of those two boring numbers you gave me is " + output + ".\n")
- length = input("That was mind numbingly boring lets try someting harder. \nWe will calculate the area of a rectange. \nWhat is the length of your stupid rectangle? ")
- width = input("Amazing, you did it!\nWhat is its width? ")
- len = int(length)
- wid = int(width)
- area = len * wid
- output = str(area)
- print("Even a creature with the intellegence like you should know that a rectangle with a\nlength of " + length + " and a width of " + width + "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement