主页
Python
Python 日期时间
demo_datetime_strftime_i2
运行 ❯
×
更改方向
保存代码
更改主题
import datetime x = datetime.datetime.now() print(x.strftime("%I"))