Commit e7446e39 by BellCodeEditor

save project

parent d42bd633
Showing with 32 additions and 12 deletions
a = input('请输入:')
q = []
for i in a:
if i not in '0123456789':
q.append(i)
print(q)
\ No newline at end of file
with open(r'c:\Users\Administrator\Documents\lesson13-3\sales_list.txt','r',encoding='utf-8') as jjj:
klj=jjj.readlines()
shuzhi666=open(r'C:\Users\Administrator\Desktop\xiaoheizi.txt','w',encoding='utf-8')
with open(r'c:\Users\Administrator\Documents\lesson13-5\sales_list.txt','r',encoding='utf-8') as kun:
basketball=kun.readlines()
shuzhi666=open(r'C:\Users\Administrator\Desktop\小黑子树枝666.txt','w',encoding='utf-8')
kaituan=0
ggg=0
gggl=0
ggjjj=0
chang=0
tiao=0
rap=0
lizhi=[]
for i in klj:
for i in basketball:
kunkun=i.split()
print(kunkun[0])
ggg=str(kunkun[0])
chang=str(kunkun[0])
ikun=kunkun[1:]
for jinitaimei in ikun:
kaituan+=int(jinitaimei)
print(kaituan)
gggl=str(kaituan)+'\n'
ggjjj=ggg+gggl
lizhi.append(ggjjj)
tiao=str(kaituan)+'\n'
rap=chang+tiao
lizhi.append(rap)
kaituan=0
shuzhi666.writelines(lizhi)
\ No newline at end of file
......@@ -7,8 +7,13 @@
李强 12 12 11 15 11 13 25 26 11 13 15
孙小白 25 26 12 15 27 30 48 39
苏琪 15 11 15 15 30 13 27 11
蔡徐坤 100000 10000 4000 500 10 4
马达老师 30000000000000000 56400000000000000 3455536570000000000000000
王甜心 3892748912739586 873465736587345 39482672568932765832 3246832582475693847962 4359263498245698427 45832645395694 975367578562783256 3758785789567854787 5497898975789602607892
刘若若 11 11 13 11 20 15 13 29 24
马云 100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
马化腾 -1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
刘阳 11 15 22 11 23 26 22 15 17 52 12
王鑫松 -1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999998
王胜男 27 15 15 26 13 12 15
王娇 12 11 12 12 15 35 23 11
a = [1,2,3,4,5]
print(a[:3]==a[:-2])
\ 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