datetime
math
random
statistics
from datetime import date, datetime today = date.today() print(type(today)) print(today)
<class 'datetime.date'> 2024-11-15
now = datetime.now() print(type(now)) print(now)
<class 'datetime.datetime'> 2024-11-15 23:08:45.830904