I need help with creating a table. The question is asking me to write a function that outputs a two column table of kilogram weights and their pound equivalents for kilogram values 0
, 10
, 20
..., 100
.
So far I have:
kilos = eval(input("Enter a weight in kilograms: "))
pounds = 2.2 * kilos
print("The weight in pounds is", pounds)
but I have no idea how to construct this as a table.