Commit def38692 by BellCodeEditor

save project

parent f0e49449
Showing with 12 additions and 3 deletions
with open(r'C:\Users\123\Desktop\sales_list.txt','r',encoding='utf-8') as file:
a=file.readlines()
print(a)
# print(a)
for i in a:
print(i)
\ No newline at end of file
data=i.split()
print(data[1:])
\ No newline at end of file
# txt='zi-o tow'
# new_txt=txt.split()
# print(new_txt)
num='1.2.3.4.5.6'
new_num=num.split('.')
print(new_num)
\ 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