Answers for "check if variable is positive python"

1

check if variable is positive python

num = int(input("Input a number"))
if num >= 0:
  print("Positive Number")
else:
  print("Negative Number")
Posted by: Guest on February-19-2022

Code answers related to "check if variable is positive python"

Python Answers by Framework

Browse Popular Code Answers by Language