Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # coding=utf-8
- # Program wyświetli tabelę przeliczeń stopni
- # Celsjusza na stopnie Fahrenheita w zakresie
- # od -20 do +40 stopni Celsjusza, co 5 stopni.
- stopnie_celsjusza = range(40, -20, -5)
- for t in stopnie_celsjusza:
- print "Celsjusza: %+4i Fahrenhaita: %+4i" % (t, int(32 + 9.0/5.0 * t))
Advertisement
Add Comment
Please, Sign In to add comment