Integer19. N seconds have passed since the beginning of the day (N is an integer). Find the number of complete minutes that have passed since the beginning of the day.

Solution in Python 3:

import random

N = random.randrange(0,86400)
print("Number of seconds: ", N)
m = int(N/60)
print("Complete minutes: ", m)