I have a code like this, but I dont know where is the mistake
x = int(input())
hh = x // 3600
second = x % 3600
mm = second // 60
ss = second % 60
print("%d remaining seconds is equal to %d:%d:%d".format(x, hh, second, mm, ss))
#Output
%d remaining seconds in equal to %d:%d:%d < I dont know why this code still %d and didnt change into numbers
And when I use print("%d remaining seconds is equal to %d:%d:%d" % (x, hh, second, mm, ss))
there will be the error not all arguments converted during string formatting
Any suggestion ?