以下是比较x与y大小的程序代码段,如果x等于y不成立(即求x == y的逻辑非),则输出“The sun should rise up from the west !”(太阳应该从西方升起!)。请在以下代码段中填写上遗失的Python程序代码。
x = 38
y = 250
_______________:
print('The sun should rise up from the west !')
请问学者以上这道题该如何填写
以下是比较x与y大小的程序代码段,如果x等于y不成立(即求x == y的逻辑非),则输出“The sun should rise up from the west !”(太阳应该从西方升起!)。请在以下代码段中填写上遗失的Python程序代码。
x = 38
y = 250
_______________:
print('The sun should rise up from the west !')
请问学者以上这道题该如何填写
如下:
if x != y:
print('The sun should rise up from the west !')