Contact: aviboots(AT)netvision.net.il
39,938 questions
51,875 answers
573 users
if "th" in "python": print('contain') else: print('not contain') ''' run: contain '''
if "th" not in "python": print('not contain') else: print('contain') ''' run: contain '''
s = "python programming" if s.find("python") == -1: print("Not Found") else: print("Found") ''' run: Found '''
s = "python programming" if s.find("python") != -1: print("Found") else: print("Not Found") ''' run: Found '''