datetime
math
random
statistics
os
from datetime import date, datetime today = date.today() print(type(today)) print(today)
<class 'datetime.date'> 2025-07-04
now = datetime.now() print(type(now)) print(now)
<class 'datetime.datetime'> 2025-07-04 04:44:08.853997