{}
run-icon
main.py
# Online Python compiler (interpreter) to run Python online. # Write Python 3 code in this online editor and run it. import datetime dt = datetime.datetime.strptime("2024-12-30", "%Y-%m-%d") print(dt.strftime("%#W")) print(dt.strftime("%#V"))
Output