Commit 92205fdd by BellCodeEditor

auto save

parent a76045a2
Showing with 35 additions and 1 deletions
k=[]
n=0
for i in range(10,100):
a=i%10
b=(i-a)/10
if a!=b:
k.append(i)
n+=1
print(n)
print(k)
\ No newline at end of file
......@@ -10,5 +10,5 @@ for i in a:
result=data[0]+str(sum)+'\n'
filal_sum.append(result)
with open('sales_list.txt','r',encoding='utf-8') as file:
with open('newsales_list.txt','w',encoding='utf-8') as file:
file.writelines(filal_sum)
alist = input()
alist_new = alist.split( )
list1 =[]
a =0
for i in alist_new:
print(alist_new[i])
a = int(alist_new[i]+1)
list1.append(a)
print(list1)
\ No newline at end of file
悟空348
诺依380
小贝182
李丽201
宋扬107
王明245
李强164
孙小白222
苏琪137
刘若若147
刘阳226
王胜男123
王娇131
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