Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # http://python.assignmentsolutionguru.com/
- try:
- clicks = int(input("By how many clicks to the right has the dial been rotated? "))
- except:
- print("Invalid input.. exiting...")
- exit(1)
- diff = clicks % 51
- temp = 40 + diff
- print ("The temperature is", temp, "degrees.")
- # http://python.assignmentsolutionguru.com/
Add Comment
Please, Sign In to add comment