0
Hi, can anyone tell me what I'm doing wrong here please?
Bingo help! https://code.sololearn.com/c7ibc9MZ2sfj/?ref=app
4 Answers
+ 1
No indentation after if,
if num = x:
print("bingo")
Instead it should be,
if num = x:
print("bingo")
+ 1
Thank you
0
Emma Cooke
2 problems
1. if num in x:
2. indentation error following your if statement
Adjustment attached
x = [42, 8, 7, 1, 0, 124, 8897, 555, 3, 67, 99]
num = int(input())
if num in x:
print("bingo")
0
x = [42, 8, 7, 1, 0, 124, 8897, 555, 3, 67, 99]
num = int(input())
if num in x:
print("bingo")