Question: Q1. (1 point) Write a code that accepts an arbitrary number and determines whether the number if positive (larger than zero), negative (smaller than zero)

 Q1. (1 point) Write a code that accepts an arbitrary number

Q1. (1 point) Write a code that accepts an arbitrary number and determines whether the number if positive (larger than zero), negative (smaller than zero) or zero. DA D. B ... D 4 ro # write your code here: vall= int(input( ' number: ') ) if vall>0: print( 'positive' ) ? vall=0: print( 'zero' ) val1

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 General Management Questions!