CBSE Class 12 Computer Science Question 104 of 105

Python Revision Tour — Question 10

Back to all questions
10
Question

Question 10

Write another program printing a table with two columns that helps convert pounds in kilograms.

Solution
print('Pounds | Kilograms')
print(1, "\t", 0.4535)
for i in range(10, 101, 10):
    print(i, "\t", i * 0.4535)
Output
Pounds | Kilograms
1        0.4535
10       4.535
20       9.07
30       13.605
40       18.14
50       22.675
60       27.21
70       31.745
80       36.28
90       40.815
100      45.35
Answer