Skrilov Ihor - portfolio
mechanical engineer
Tuesday, June 20, 2023
Circle area calculate program
Code of program
:
import math
print("Calculate circle area")
d=input("diameter of a circle d=")
d=float(d)
area=math.pi*d*d/4
print("area=")
print(area)
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
Ring area calculate program
Code of program : import math print("calculate ring area") R=input("R=") R=float(R) r=input("r=") r=float(r) a...
Exercises from book "Autodesk Inventor exercises" by Bob McFarlane. D Work features
Program to display integer numbers from "started" number to "finished" number
i=input("define a number from its start \n") i=int(i) a=input("define a number to the end \n") a=int(a) print("Star...
No comments:
Post a Comment