Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = float(input('Por favor, entre com o número de segundos que deseja converter:'))
- conv0 = s/60
- conv1 = s/60
- conv2 = conv1/60
- conv3 = conv2/24
- conv4 = (s/24)/216000
- print(conv4)
- print('{:.0f} dias, {:.0f} horas, {:.0f} minutos e {:.0f} segundos.'.format(conv3,conv2,conv1,conv0))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement