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")

14th Dec 2020, 2:29 PM
Christopher Cox
Christopher Cox - avatar
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😁
27th Dec 2021, 2:15 PM
Emmanuel Francis
Emmanuel Francis - avatar
+ 2
x = [42, 8, 7, 1, 0, 124, 8897, 555, 3, 67, 99] num = int(input()) if num in x: print('bingo')
29th Mar 2022, 3:28 PM
H.M.H.Prabhashani
+ 1
Christopher Cox There is small b. It's bingo not Bingo. Read problem again.
14th Dec 2020, 2:32 PM
A͢J
A͢J - avatar
+ 1
x = [42, 8, 7, 1, 0, 124, 8897, 555, 3, 67, 99] num = int(input()) if num in x: print("bingo")
31st Mar 2022, 9:36 PM
Abdelkhalek Nael Ahmad Allan
Abdelkhalek Nael Ahmad Allan - avatar
+ 1
items = [42, 88, 721, 12, 43, 22, 908] num = int(input()) if num in items: print('bingo') else: print()
17th May 2022, 3:08 AM
Najwan Najmussabah
+ 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")
29th Jun 2022, 11:39 AM
Hamza Limam Eibba
Hamza Limam Eibba - avatar
0
Perfect with a small b!!!
30th Nov 2021, 5:13 PM
Dr_Chipo
Dr_Chipo - avatar
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')
22nd Dec 2021, 9:42 AM
SANVIKA
0
num = int(input()) if num in items: print('bingo') else: print()
24th Apr 2023, 5:16 PM
Chanda Sampa
Chanda Sampa - avatar
- 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');
28th Mar 2022, 6:42 AM
Asanar Mohammed Asky