Output for the following input: a positive number, a negative number, and zero.
An explanation of your choice for what to call for input of zero.
1
Expert's answer
2021-12-06T02:16:40-0500
# This time use nested if to solve the problem
num = float(input("Enter a number: "))
ifnum >= 0:
ifnum == 0:
print("Zero")
else:
print("Positive number")
else:
print("Negative number")
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments