Computer Science, asked by kjai23233, 5 months ago

write a Python program to check given no is positive or negative?​

Answers

Answered by Anonymous
10

Answer:

{\boxed{\boxed{\bold\colorbox{cyan}{ Answer}}}}

Explanation:

Python Program to Check if a Number is Positive, Negative or Zero

  • # In this python program, user enters a number and checked if the number is positive or negative or zero.
  • num = float(input("Enter a number: "))
  • if num > 0:
  • print("Positive number")
  • elif num == 0:
  • print("Zero")
  • else:
  • print("Negative number")
Answered by drpramodmane30
1

Answer:

from which class it tell

Similar questions