Posts by Herson Rodrigues • 1 point
1 post
-
-1
votes2
answers587
viewsA: Convert number to hours in python
def horas(number): return str(number)[:2]+':'+str(number)[2:] horas(1234) Output: '12:34'
1 post
-1
votes2
answers587
viewsdef horas(number): return str(number)[:2]+':'+str(number)[2:] horas(1234) Output: '12:34'