fork download
  1. print ("The Python 2.7 Volume Of A Cylinder Program.")
  2. p = 3.14
  3. radi = 12
  4. height = 12
  5. volume = (radi**2) * (p) * (height)
  6. print (p, " ", radi, " ",height)
  7. volume_x = round(volume)
  8. print("The Volume Of A Cylinder Is: ",volume_x)
Success #stdin #stdout 0.01s 7136KB
stdin
1
2
10
42
11
stdout
The Python 2.7 Volume Of A Cylinder Program.
(3.14, ' ', 12, ' ', 12)
('The Volume Of A Cylinder Is: ', 5426.0)