Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- users_name = input("Hi..I'm Python..what's your name? ")
- print("Welcome " + users_name + " are you cool to code? ")
- print("lets calculate the volume of a cube in mm3")
- input1 = input("length of side in mm> ")
- number1 = float(input1)
- result = number1 * number1 * number1
- print("The volume of your cube is " + str(result) + " mm3")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement