Advertisement
smurl

Untitled

Jan 21st, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. print ("Hiya! I am Bertronic! I am a robot. I am here to help")
  2. users_name = input ("What is your name?")
  3. print ("Hello " + users_name)
  4. print ("Let's work out the area of a square. Enter the length then the width:")
  5. input1 = input ("Number 1>")
  6. input2 = input ("Number 2>")
  7. number1 = int(input1)
  8. number2 = int(input2)
  9. result = number1 * number2
  10. output = str(result)
  11. print(input1 + "x" + input2 + "=" + output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement