Commit bd26fed6 by BellCodeEditor

save project

parent a1f956b2
Showing with 8 additions and 1 deletions
with open(r'C:\Users\makcoo\Documents\lesson13-1\sales_list.txt',"r",encoding="utf-8") as file1:
s=file1.readlines()
for i in s:
print(s[3:5])
sss=i.split()
print(sss[1:])
\ No newline at end of file
txt="welcome to the bellcode"
new_txt=txt.spilt()
print(new_txt)
\ No newline at end of file
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