14 | for loop; INCREMENTS
What it is is:
speed_converter.py
# This program converts the speeds 60 kph
# through 130 kph (in 10 kph INCREMENTs)
# to mph.
START_SPEED = 60 # Starting speed
END_SPEED = 131 # Ending speed
INCREMENT = 10 # Speed INCREMENT
CONVERSION_FACTOR = 0.6214 # Conversion factor
# Print the table headings.
print('KPH\tMPH')
print('--------------')
# Print the speeds.
for kph in range(START_SPEED, END_SPEED, INCREMENT):
mph = kph * CONVERSION_FACTOR
print(f'{kph}\t{mph:.1f}')