Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clicks = int(input("By how many clicks has the dial been turned?\n"))
- # TODO calculate the temperature, and report it back to the user
- difference = clicks % 51
- temp = (40 + difference)
- print("The temperature is", temp, "degrees!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement