Problem
Write a program alarm.py, which reads an integer corresponding to the current time (only the hour and in 24h format). The program should then ask how many hours into the future an alarm should go off. The program should then present the time at which the alarm will go off. Use the modulo operator to calculate the time. Two examples of an execution:
What time is it? 14
How many hours to the alarm? 26
The alarm will go off at 16.00
What time is it? 2
How many hours to the alarm? 12
The alarm will go off at 14.00.