Chrome File Edit View History Bookmarks People Window Help ? 100% C Wed 12:32AM
ID: 3710877 • Letter: C
Question
Chrome File Edit View History Bookmarks People Window Help ? 100% C Wed 12:32AM Q, E HCT Portal , I-Practical-Exam-2-1 (anon-pit X D H00325599 Abdalla Ali Ahme x e Chegg Study Guided Soluto X C Secure l https://practicalexam21-anon-jz?baw.notebooks.azure.com/nb/notebooks/H00325599_Abdalla%20Ali%20Ahmed.ipynb Cjupyter H00325599_Abdalla Ali Ahmed (unsaved changes) Azure Notebooks My Libraries Test2-Version-412165-9-734sd(1) File Edit Vioew Insert Cll Kernel Data WidgetsHelp Not TrustedPython 3.6 O +9?4???_ Run. ?» Markdown #?? Enter/Exit RISE Slideshow First Question Nrite a python program to check whether a number is negative, positive or zero?Explanation / Answer
If you have any problems with the answer or want me to edit the answer, just let me know in the comments and I will try to get on to it as soon as possible. Do give a positive rating if you think this answer helped.
number = float(input("Enter the number: "))
if num > 0:
print("The number is Positive")
elif number == 0:
print("The number is Zero")
else:
print("The number is Negative")
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.