在Python中,假设当前时间是2025年10月15日,下午3点45分30秒,运行下面这段代码的输出结果是2025-10-15 15:45:30 ( )
from datetime import datetime
current_time = datetime.now()
formatted_time = current_time.strftime("%Y-%m-%d %H:%M:%S")
print(formatted_time)
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析