Is there anyway to make this into a single statement in python ?
name = 'Customer_Identify'
useless_list = ['id']
# I Want to make the 3 following lines into a single line. It should return True.
for i in useless_list:
if (i in name.lower()):
print(True)
I tried with lambda functions but I maybe doing some mistake somewhere. :(