Python 判断正负数代码示例
x = int(input('请输入一个数:'))
if x > 0: print('正数') elif x == 0: print('零') else: print('负数')
原文地址: https://www.cveoy.top/t/topic/mJeQ 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
x = int(input('请输入一个数:'))
if x > 0: print('正数') elif x == 0: print('零') else: print('负数')
原文地址: https://www.cveoy.top/t/topic/mJeQ 著作权归作者所有。请勿转载和采集!