in not

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')

 

posted @ 2020-03-04 15:45  luoluokang  阅读(251)  评论(0编辑  收藏  举报