10 lines
200 B
Python
10 lines
200 B
Python
a = [23, 45, 34, 67, 89, 34, 56, 11, 23, 45]
|
||
val = int(input('Aranacak sayıyı giriniz:'))
|
||
for i in a:
|
||
if i == val:
|
||
print('bulundu')
|
||
break
|
||
else:
|
||
print('bulunamadı')
|
||
|