#2 hage.pyに関数を追加。

This commit is contained in:
2025-05-19 20:54:54 +09:00
parent 2533651b5c
commit f402a97ac9

View File

@ -1 +1,9 @@
from datetime import datetime
def show_current_datetime():
now = datetime.now()
print("現在の日時:", now.strftime("%Y-%m-%d %H:%M:%S"))
show_current_datetime()
print("はげ")