Commit d81e9696 by BellCodeEditor

save project

parent 17e0851f
Showing with 26 additions and 3 deletions
# name_list=['Tom','Lily','Rose']
# a=input('what is your name')
# for i in range(1):
# if a in name_list:
# print('是 ')
# else:
# print('不是')
# name_list.append("xiaoming")
# print(name_list)
# name_list=['Tom','Lily','Rose']
......@@ -8,5 +15,21 @@
# name_list2=['xiaoxiao','duoduo']
# name_list.extend(name_list2)
# print(name_list)
name_list=['Tom','Lily','Rose','Rose',]
name_list
\ No newline at end of file
# name_list2=['xiaoxiao','duoduo']
# name_list2[0]='peiqi'
# print(name_list2)
# name_list=['Tom','Lily','Rose','Rose',]
# name_list.pop(2)
# print(name_list)
# name_list=['Tom','Lily','Rose','Rose',]
# name_list.remove('Rose')
# print(name_list)
# sum=[59,54,89,45,78,45,12,96,789,45,69]
# a=0
# for i in range(len(sum)):
# a+=sum[i]
# print(a)
# sum=[59,54,89,45,78,45,12,96,789,45,69]
# for i in range(len(sum)):
# if sum[i]%2==1:
# print(sum[i])
\ 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