Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print ("Hiya! I am Bertronic! I am a robot. I am here to help")
- users_name = input ("What is your name?")
- print ("Hello " + users_name)
- print ("Let's work out the area of a square. Enter the length then the width:")
- input1 = input ("Number 1>")
- input2 = input ("Number 2>")
- number1 = int(input1)
- number2 = int(input2)
- result = number1 * number2
- output = str(result)
- print(input1 + "x" + input2 + "=" + output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement