SHARE
TWEET

Untitled

PeninoOctavio Apr 26th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print("hi, my calculator")
  2. print("let's cube some numbers")
  3. input1 =input("Number to be cubed >")
  4. number1 = int(input1)
  5. result = number1 * number1 * number1
  6. output = str(result)
  7. print(input1 + "*" + input1 + "*" + input1 + "="  + output)
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