Python在单个if语句中使用多个if语句
我该如何用一个简单的if语句来写下面的内容:
if x != 5:
if y < 4:
statement
1 个回答
10
if x != 5 and y < 4:
statement
当然可以!请把你想要翻译的内容发给我,我会帮你用简单易懂的语言解释清楚。