Created
November 6, 2021 13:08
-
-
Save moulik-source/f7ea83b319f0fb14926f399fe753328e to your computer and use it in GitHub Desktop.
positive negative or zero
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
num = float(input("Please eneter a value: ")) | |
if num >0: | |
print("Positive") | |
elif num < 0: | |
print("negative") | |
else: | |
print("zero") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment