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

please help , not getting the output

@dk89990

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.

@dk89990

what output you want?