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 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
Get step-by-step solutions from verified subject matter experts
