python program to check number is positive or negative or zero. #shorts #shortsvideo

preview_player
Показать описание
python program to check number is positive or negative or zero || write a python program to check whether a number is positive or negative || how to check if a number is positive or negative in python || how to check number is negative in python || python program to find whether the given number is positive or negative.

@CodeWithShahrukh

#CodeWithShahrukh
#shorts
#shortsvideo
#shortsyoutube
#youtubeshorts
#youtubeshortsvideo
Рекомендации по теме
Комментарии
Автор

We have a programming wizard over here

laurivaara
Автор

a: int = int(input("Gimme number: "))
print(f"{a} is positive" if a > 0 else f"{a} is negative" if a != 0 else "your input is 0")

stifskere