10 lines
192 B
Python
10 lines
192 B
Python
from datetime import datetime
|
|
|
|
def show_current_datetime():
|
|
now = datetime.now()
|
|
print("現在の日時:", now.strftime("%Y-%m-%d %H:%M:%S"))
|
|
|
|
show_current_datetime()
|
|
|
|
print("はげ")
|