Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Hello, my name is Pi and I am here to assist")
- users_name = input("what is your name? ")
- print("nice to meet you " + users_name + "!")
- print("lets work out the area of a square or rectangle")
- length = input("length ")
- width = input("width ")
- number1 = int(length)
- number2 = int(width)
- result = number1 * number2
- output = str(result)
- print("the length " + length + " multiplied by " + "the width " + width + " = " + output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement