Discuss / Python / 交作业

交作业

Topic source

toLT

#1 Created at ... [Delete] [Delete and Lock User]

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)


  • 1

Reply