1 name = "跞跞" 2 if "跞" in name: 3 print ('I LOVE YOU') 4 else: 5 print('I LOVE YOU,TOO')
1 name = "跞跞" 2 if "跞" not in name: 3 print ('I LOVE YOU') 4 else: 5 print('I LOVE YOU,TOO')