0% found this document useful (0 votes)
316 views1 page

Unit Conversion - Python Algorithm

The document discusses coding needs such as if/else statements and input/output. It also discusses unit conversion formulas for converting between units of time, length, mass and temperature. An example is given of converting 10km to cm by first converting to meters then to centimeters. The output of the conversion is printed.

Uploaded by

Gdhdjfjfifuf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
316 views1 page

Unit Conversion - Python Algorithm

The document discusses coding needs such as if/else statements and input/output. It also discusses unit conversion formulas for converting between units of time, length, mass and temperature. An example is given of converting 10km to cm by first converting to meters then to centimeters. The output of the conversion is printed.

Uploaded by

Gdhdjfjfifuf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Coding Needs-

1.If else statement Software-


2.input VHEditor - for
3.Physics unit Unit conversion coding
conversion formula - Python Termux - For
4.print output compiling

Time Length Mass Temperature

Input
value

Input
Unit from

Input
Unit to

/*converting 10km to cm*/ Example Value → Basic Unit → Required unit

10km → 10000m → 1000000cm

Output = 1000000cm Output

You might also like