To check if a number is present inside a list consisting of lists

please help , not getting the output


What error are you getting?

Please paste the IDE Screenshot with code and error .

1 Like

Why are you using break in if else condition.
There is no need of break statement here.


what output you want?