📜  如何在python代码示例中制作一个识别正面和负面的程序

📅  最后修改于: 2022-03-11 14:46:01.558000             🧑  作者: Mango

代码示例1
number = float(input(" Please Enter any Numeric Value : "))

if(number > 0):
    print("{0} is a Positive Number".format(number))
elif(number < 0):
    print("{0} is a Negative Number".format(number))
else:
    print("You have entered Zero")