I have to write a program that shows a column of kilograms and a column of pounds, starting at 1 kilogram and ending 99, increasing every step with 2.
I have the following code, and the range() works for the pounds part, but not for the kilograms part. It stays always 1 for the kilograms.
for k in range(1,3,1):
print("Kilograms","Pounds",sep=" ")
for i in range(1,101,2):
for j in range(2,223,3):
print(i,"",j,sep=" ")
break
break
Also, why can't I use floats in the range, because officially it is 2.2 pounds.
Thanks in advance!