Write a Python Program to Print a Number is Positive/Negative Using If-Else

Опубликовано: 21 Сентябрь 2023
на канале: Code With TJ
177
3

Hello Programmers, Welcome to my channel.

In this video you will learn about how to write a python program to print a number is positive/negative using if-else

Python Scripts
======================
https://codewithtj.blogspot.com/2024/...

Python Functions Solved
==========================
https://codewithtj.blogspot.com/2023/...

Python Programs Solved
============================
https://codewithtj.blogspot.com/2023/...


Code
=============================
number = int(input("Enter a Number : "))

if number less_than_symbol 0:
print(f"Number {number} is Negative")
else:
print(f"Number {number} is Positive")

Keywords
=============================
#python #python3 #python_assignment #pythonprogramming #pythontutorial #pythonprojects #pythoncourse #pythonbaba #pythonforbeginners #pythonautomation #pythonbasic #pythonbeginners