公告
财富商城
积分规则
提问
发文
2020-02-28 19:30发布
不美不萌又怎样
I have a text file and I want to display all words that contains both z and x characters.
How can I do that ?
If you don't want to have 2 problems:
for word in file('myfile.txt').read().split(): if 'x' in word and 'z' in word: print word
最多设置5个标签!
If you don't want to have 2 problems: