执行给定Python程序,输入为10时变量y的值是多少?
x = int(input())
if x!=0:
if x>0:
y=-1
else:
y=1
else:
y=0
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析