- Home
- Course Category
- Course Result
- Course Detail
-
TeacherJyoti
-
Category
Programming, Website Development
-
Duation
15 hours
-
Reviews(117 review)
-
Call Us for Details
Basic Python Course Questions
Python programming language is a general-purpose, dynamic programming Language.Python language have a large library of packages which makes python for beginners a language of choice.
Python Programns for Beginners
In the program below, we used the arithmetic addition operator (%) to find even or odd number.
Source Code:
Program to check if a number is positive,negative or zero in Python
# This Program is to check if a number is positive,negative or zero in Python
num = int(input("enter a number"))
if(num>0):
print("positive")
elif(num <0):
print("negative")
else:
print("zero")
Output
enter a number: 6
positive