- Home
- Course Category
- Course Result
- Course Detail
Hot Line: 0124-2383121
-
TeacherManoj Sir
-
Category
Programming, Website Development
-
Duation
20 hours
-
Reviews(42 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 Programs 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 STRING IS A PALINDROME OR NOT IN PYTHON
# PROGRAM TO CHECK IF A STRING IS A PALINDROME OR NOT
string=input("Enter string:")
if(string==string[::-1]):
print("The string is a palindrome")
else:
print("The string isn't a palindrome")
Output
Run the program to see the output