Dimensional Conversion Module | Python for Beginners | VS Code IDE

preview_player
Показать описание
In this video i'll discuss about how a simple module of python that will do conversions of SI Units also make a program that will give result with SI Units..!

#discord_programmers
#python_for_beginners
#pint_module

Source Code:-

Import pint
ureg = pint.UnitRegistry()
length = int(input("Enter Length of Rectangle: "))
width = int(input("Enter Width of Rectangle: "))
def rectangle(length,width):
ch = input("Would you like to get result in..!(meter/cm): ")
if ch == 'meter':
if ch == 'cm':

result = rectangle(length,width)
print(result)

Note:- Used this Code for reference if not work tell me i'll make another video with different program for this module

if you find video helpfull..!

Like..!
Share..!
Subscribe..!

Thanks for watching..!
Рекомендации по теме
welcome to shbcf.ru