Rešitev: program Pretvarjanje minut (Python)

Iz MaFiRaWiki

Naloga: program Pretvarjanje minut

minute = 211    
ure = minute / 60 
min = minute % 60 
print "%d min = %d h in %d min\n" % (minute, ure, min, )

V različici 3.

minute = 211    
ure = minute / 60 
min = minute % 60 
print(minute,"min = ", ure,"h in ",min,"min")


Glej tudi

Osebna orodja