Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Take the width of the shape and store it as a variable
- shapeWidth = int(input("What is the Width of the shape (In CM)"))
- # Take the Length of the Shape and store it as a variable
- shapeLength = int(input("What is the Length of the shape (In CM"))
- # Work out the area and store it in a variable (* means multiply)
- area = int(shapeWidth*shapeLength)
- # Print the area
- print(area)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement