SHARE
TWEET

Untitled

a guest Apr 25th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. users_name = input("Hi..I'm Python..what's your name? ")
  2. print("Welcome " + users_name + " are you cool to code? ")
  3. print("lets calculate the volume of a cube in mm3")
  4. input1 = input("length of side in mm> ")
  5.  
  6. number1 = float(input1)
  7.  
  8. result = number1 * number1 * number1
  9. print("The volume of your cube is " + str(result) + " mm3")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top