Write a Python Program to Convert Height (in Feet and Inches) to Centimeters

preview_player
Показать описание
Hi Guys, Welcome to my channel.

In this video you will learn about how to Write a Python Program to Convert Height (in Feet and Inches) to Centimeters

Python Scripts
======================

Python Functions Solved
==========================

Python Programs Solved
============================

300+ Python Programs Solved
=============================

Code
=============================
"""
Write a Python Program to Convert Height (in Feet and Inches) to Centimeters

1 foot = 12 inch
1 inch = 2.54 cms
"""

feet = int(input("Enter Feet : "))
inches = int(input("Enter Inches : "))

feet_cms = feet * 12 * 2.54
inches_cms = inches * 2.54
cms = feet_cms + inches_cms

print("Height in Centimeters is : ", cms)

Keywords
=============================
#python #python3 #python_assignment #pythonprogramming #pythontutorial #pythonprojects #pythoncourse #pythonbaba #pythonforbeginners #pythonautomation #pythonbasic #pythonbeginners
Рекомендации по теме