TO check number + r -

n = int(input("Please Enter any Number: "))
x=[“positive” if n>0 else “negative” if n<0 else “zero” ]
print(x)

1 Like

Well Done @lakshmisainath007

1 Like