Commit 4b0e9e3d by BellCodeEditor

auto save

parent 078630d4
Showing with 9 additions and 4 deletions
txt = 'welcome `to `the `bellcode'
a = txt.split('`')
print(a)
\ No newline at end of file
with open(r'C:\Users\MK-05\Desktop\sales_list.txt','r',encoding = 'utf-8') as file:
a = file.readlines()
# print(a)
for i in a:
b = i.split()
print(b[0])
print(b[1:])
\ 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