Commit 4bc1dcb2 by BellCodeEditor

save project

parent cefeaa34
Showing with 6 additions and 4 deletions
with open(r'c:\Users\bellcode\Desktop\mydata.txt','r',encoding='utf-8') as file:
a=file.read()
print(a)
\ No newline at end of file
a=file.readlines()
#print(a)
for i in a:
print(i)
\ No newline at end of file
num=int(input('请输入一个正整数:'))
for i in range(1,num+1):
print(i,end='')
print(i,end='()')
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