Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

004-PROGRAM TO CHECK-IF-A-NUMBER-IS-POSITIVE-NEGATIVE-OR-ZERO-IN-PYTHON #4

Open
atharvaagrawal opened this issue Apr 2, 2020 · 1 comment

Comments

@atharvaagrawal
Copy link
Owner

Input:

Enter any Number: 0

Output:

Number is Zero

@ghost
Copy link

ghost commented Apr 2, 2020

number = int (input ("Please Enter Any Number: "))

if number =0:
print (" number is Zero")
elif number >0:
print ("number is Positive")
else:
print (" number is Negative")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant