Skrilov Ihor - portfolio
mechanical engineer
Wednesday, June 21, 2023
Cylinder volume calculate program
Code of program
:
import math
print("calculate cylinder volume")
r=input("r=")
r=float(r)
h=input("h=")
h=float(h)
volume=math.pi*(r**2)*h
print("volume=")
print(volume)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Exercises from book "Autodesk Inventor exercises" by Bob McFarlane. E Pattern features
Exercises from book "Autodesk Inventor exercises" by Bob McFarlane. 2D sketches.
Exercises from book "Autodesk Inventor exercises" by Bob McFarlane. Placed features 1.
Exercises from book "Autodesk Inventor exercises" by Bob McFarlane. C Placed features 2
No comments:
Post a Comment