Olá, amigos! Estou com uma dúvida em um problema do Uri (https://www.urionlinejudge.com.br/judge/pt/problems/view/1019).
Ele está dando Runtime error:
---------------------------------------------------------------------------------------
File "Main.py", line 4, in
z = segundos%3600
TypeError: not all arguments converted during string formatting
Command exited with non-zero status (1)
----------------------------------------------------------------------------------------
Aqui está meu código:
--------------------------------------------------------
segundos = raw_input()
int(segundos)
z = segundos%3600
h =(segundos - z)/3600
m = z/60
s = z%60
print('{}:{}:{}'.format(h,m,s))
---------------------------------------------------------
Alguém poderia me ajudar?