0

Hi, can anyone tell me what I'm doing wrong here please?

Bingo help! https://code.sololearn.com/c7ibc9MZ2sfj/?ref=app

16th Sep 2021, 10:12 AM
Emma Cooke
4 Answers
+ 1
No indentation after if, if num = x: print("bingo") Instead it should be, if num = x: print("bingo")
16th Sep 2021, 10:20 AM
Abhay
Abhay - avatar
+ 1
Thank you
16th Sep 2021, 10:28 AM
Emma Cooke
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")
16th Sep 2021, 10:25 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
x = [42, 8, 7, 1, 0, 124, 8897, 555, 3, 67, 99] num = int(input()) if num in x: print("bingo")
17th Sep 2021, 2:04 PM
Assaf Hillel
Assaf Hillel - avatar