Q. Write another program printing a table with two columns that helps convert pounds in kilograms.
You can understand by Watching video :-
Answer :-
print("Pounds\t | \tKilogram") for j in range (0,101,5) : print( j , end= "\t" ) print(" | " , end= "\t") print( 0.45 * j )
Output :-
Pounds | Kilogram
0 | 0.0
5 | 2.25
10 | 4.5
15 | 6.75
20 | 9.0
25 | 11.25
30 | 13.5
35 | 15.75
40 | 18.0
45 | 20.25
50 | 22.5
55 | 24.75
60 | 27.0
65 | 29.25
70 | 31.5
75 | 33.75
80 | 36.0
85 | 38.25
90 | 40.5
95 | 42.75
100 | 45.0
>>>
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )