search =int(input('enter the element to search'))
for x in [1,2,3,4,5]:
if search==x:
print('element is found')
break
else:
print('element is not found')
why the else statement is not executed here as we know that adding else suite after for loop ,it gets executed anyway
enter the element to search4
element is found