datetime
math
random
statistics
os
from datetime import date, datetime today = date.today() print(type(today)) print(today)
<class 'datetime.date'> 2025-09-08
now = datetime.now() print(type(now)) print(now)
<class 'datetime.datetime'> 2025-09-08 14:48:46.849877