a=int(input("请输入一个数值: ")) print(a) if a>0: print("your input number is: ",a) else: print("your input number is negetive,and the positive number of your input add 1 is: ",-a+1)
Sign in to make a reply
toLT
a=int(input("请输入一个数值: ")) print(a) if a>0: print("your input number is: ",a) else: print("your input number is negetive,and the positive number of your input add 1 is: ",-a+1)