0
Pro Challenge - List Operations 2; Bingo
Is this a bug in the app? I googled the answer and its the same as mine. This keeps coming out as wrong. items = [42, 88, 721, 12, 43, 22, 908] num = int(input()) #your code goes her if num in items: print("Bingo")
10 Antworten
+ 3
items = [42, 88, 721, 12, 43, 22, 908]
num = int(input())
if num in items:
print('bingo')
else:
print()
Thank me in my dm😁
+ 2
x = [42, 8, 7, 1, 0, 124, 8897, 555, 3, 67, 99]
num = int(input())
if num in x:
print('bingo')
+ 1
Christopher Cox There is small b. It's bingo not Bingo. Read problem again.
+ 1
x = [42, 8, 7, 1, 0, 124, 8897, 555, 3, 67,
99]
num = int(input())
if num in x:
print("bingo")
+ 1
items = [42, 88, 721, 12, 43, 22, 908]
num = int(input())
if num in items:
print('bingo')
else:
print()
+ 1
here is the correct answer:
x = [42, 8, 7, 1, 0, 124, 8897, 555, 3, 67, 99]
num = int(input())
if num in x:
print("bingo")
0
Perfect with a small b!!!
0
list=[21,34,56,27,85,67,45]
print('My list is ',list)
n=int(input('Enter any number: '))
for i in range(0,len(list)):
if(list[i]==n):
print('Bingo')
0
num = int(input())
if num in items:
print('bingo')
else:
print()
- 1
x = [42, 8, 7, 1, 0, 124, 8897, 555, 3, 67, 99]
num = int(input())
if num in x:
print('bingo');
else:
print('else');