Question: Code using Python - Jupiter Notebook Write a code that accepts an arbitrary number and determines whether the number if positive (larger than zero), negative

Code using Python - Jupiter Notebook

Code using Python - Jupiter Notebook Write a code that accepts an

Write a code that accepts an arbitrary number and determines whether the number if positive (larger than zero), negative (smaller than zero) or zero. ]: M \# write your code here: val1= int(input('number: ')) if val1>0: ? print('positive') ? val1=0: ? print('zero') ? val179.99999 gets grade C, but 80 gets grade B

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!