fork download
  1. from datetime import datetime, timedelta
  2. now = datetime.now()
  3. print(now)
  4. print(now+timedelta(hours=10))
  5. # your code goes here
  6. # your code goes here
Success #stdin #stdout 0.1s 14176KB
stdin
Standard input is empty
stdout
2025-05-29 05:49:41.713220
2025-05-29 15:49:41.713220