Posted on July 8, 2025
Level it up: let users enter a city name and show the current time there. Keep it console-only, and update every minute
Submit your solution and grab that reward once you hit 5 likes. So, make it awesome.
Tarek Sellami
Android Developer
This Python script displays the current time in the console and updates it every minute.
datetime.now()
gets the current system time.strftime("%H:%M")
formats it to show only hours and minutes.\033c
clears the terminal screen before each update.time.sleep(60 - now.second)
waits just enough to refresh at the start of the next minute.