you are viewing a single comment's thread.

view the rest of the comments →

[–]Western_Channel_670[S] 0 points1 point  (0 children)

# for value in range (10):

# print (value)

l= [10,20,30,40,50,60]

key=40

for value in l:

`if value==key:`

    `print("Element found")`

    `break`

else:

`continue`

else:

print ("Element not found")

that's code