Ch 24 in keyword

 name="ankit"

if 'a' in "name":

print("present")

else:

print("not present")

#In this code we can find the a character in the string are present or not this not work with input I try!!

Comments