LearnPy Hub
← Functions problems
Medium

Conversion Table

Write to_f(c) returning Fahrenheit. Read start, end and step, and print a table line C -> F (F with 1 decimal) for each value in range(start, end + 1, step).

Input

Three integers.

Output

One line per value.

Sample 1

Input
0
100
25
Output
0 -> 32.0
25 -> 77.0
50 -> 122.0
75 -> 167.0
100 -> 212.0

Sample 2

Input
-10
10
10
Output
-10 -> 14.0
0 -> 32.0
10 -> 50.0
solution.py
Output appears here
Conversion Table · Python practice problem · LearnPy Hub