Untitled
Anonymous
plain_text
11/27/2024 4:22 PM
248 B
10
Indexable
from datetime import datetime
def get_current_time():
current_time = datetime.now()
return current_time.strftime("%I:%M %p")
print(f"The current time is: {get_current_time()}")Editor is loading...
Leave a Comment