Write a program to check if a Number is Positive, Negative or zero. on 11/23/2021 Get link Facebook X Pinterest Email Other Apps Q. Write a program to check if a Number is Positive, Negative or zero.Code:-num = float(input("Enter a number:"))if num > 0: print("Positive number")elif num == 0: print("Zero")else: print("Negative number") Output:-You can watch the YouTube video:- Comments
Comments
Post a Comment