Commit 2f10095c by BellCodeEditor

save project

parent 0ea626c3
Showing with 16 additions and 0 deletions
str5=input('请输入日期:')
a=str5.split("/")
print(a)
# date=a[0]+"年-"+a[1]+"月-"+a[2]+"日"
# print("日期为:",date)
\ No newline at end of file
with open(r"C:\Users\Administrator.USER-20120726MP\666.txt","r",encoding='utf-8') as file1:
for data in fil1:
print(data)
\ No newline at end of file
str=input("请输入日期:")
a=str.split("/")
print("日期为:",a[0],"年-",int(a[1]),"月-",int(a[2]),"日")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment