list=[3, 45, 9, 8, 12, 89, 103, 42, 54, 79]
a=int(input())
for i in list:
if i==a:
break
print(i)
NP60 跳过列表的某个元素
for i in range(1,16):
if i == 13:
continue
print(i,end=' ')
NP61 牛牛的矩阵相加
list=[[1,2,3],[4,5,6],[7,8,9]]
n=int(input())
for i in range(3):
for j in range(3):
list[i][j]*=n
print(list)
NP62 运动会双人项目
a=input()
b=input()
print((a,b))
NP63 修改报名名单
a=('Niuniu','Niumei')
print(a)
try:
a[1] = 'Niukele'
except:
print('The entry form cannot be modified!')
NP64 输出前三同学的成绩
a=input().split()
a=tuple(a[:3])
print(a)
NP65 名单中出现过的人
a=['Tom', 'Tony', 'Allen', 'Cydin', 'Lucy', 'Anna']
a= tuple(a)
print(a)
name=input()
if name in a:
print('Congratulations!')
else:
print('What a pity!')