Объяснение:
import datetime
now = datetime.datetime.now()
hour = str(now.hour)
minute = str(now.minute)
print(str(now.hour) + ":" + str(now.minute))
Объяснение:
import datetime
now = datetime.datetime.now()
hour = str(now.hour)
minute = str(now.minute)
print(str(now.hour) + ":" + str(now.minute))