Answer to Question #219793 in Python for Hari nadh babu

Question #219793

Positive or Negative

Write a Python Program of Positive or Negative.It Consists of two test cases


The below link contains Positive or Negative - question, explanation and test cases


https://drive.google.com/file/d/1XdyNtoVwIHz1PCcmapAAgm2w_X2TFhxV/view?usp=sharing


We need all test cases can be come while code was run

1
Expert's answer
2021-07-22T18:45:06-0400
N = eval(input('Enter integer N here: '))
if N < 0:
    print('Negative')
if N >0:
    print('Positive')
Enter integer N here: -12.5
Negative

Enter integer N here: 15.2
Positive

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS