fork download
  1. from sys import stdin
  2. print("The Python 3.9 Volume Of A Sphere Program.")
  3. p = 3.14
  4. radi = 12
  5. multi = 1.3331
  6. volume = (radi**3) * (p) * (multi)
  7. print (p, " ", radi, " ", multi)
  8. volume_x = round(volume)
  9. print("The Volume Of A Sphere Is: ", volume_x)
  10.  
Success #stdin #stdout 0.03s 9596KB
stdin
1
2
10
42
11
stdout
The Python 3.9 Volume Of A Sphere Program.
3.14   12   1.3331
The Volume Of A Sphere Is:  7233