Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make a python program to convert inch into cm

a= int(input("type the inch that you wanna see cm form of
 ---->"))
# this answer is from sampanna bhattarai
def func1(inch):
  # this answer is from sampanna bhattarai
          return inch * 2.54
  # this answer is from sampanna bhattarai
c = func1(a)
# this answer is from sampanna bhattarai
print(c)
# this answer is from sampanna bhattarai
 
PREVIOUS NEXT
Tagged: #python #program #convert #cm
ADD COMMENT
Topic
Name
8+4 =