Skip to main content

Featured

Write a Python Program to find palindrome of a given string

If you reverse the word then you get the same word that word is palindrome. def   palindrome ( str ):     pointer =  str       rev_str =  reversed (pointer)       if   list (pointer) ==  list (rev_str):         print ( "It is palindrome" )       else :         print ( "It is not palindrome" )  palindrome( 'level' ) palindrome( 'madam' ) palindrome( 'life' ) palindrome( 'refer' ) Output:  It is palindrome It is palindrome It is not palindrome It is palindrome

Python overview

 Python1:

https://techlanguage028.blogspot.com/2   021/05/python-1.html

Creating python program:

https://techlanguage028.blogspot.com/2021/05/creating-python-program.html

Operators-arithmatic:

https://techlanguage028.blogspot.com/2021/05/operators-arithmatic.html

Operator 2:

https://techlanguage028.blogspot.com/2021/05/operator-2.html

Operator 3:

https://techlanguage028.blogspot.com/2021/05/operators-3.html

Quiz:

https://techlanguage028.blogspot.com/2021/05/quiz.html

Condition:

https://techlanguage028.blogspot.com/2021/05/conditions.html

Loops:

https://techlanguage028.blogspot.com/2021/05/loops.html

Typecasting:

https://techlanguage028.blogspot.com/2021/05/typecasting.html

Loop control statement:

https://techlanguage028.blogspot.com/2021/05/loop-control-statement.html

Function:

https://techlanguage028.blogspot.com/2021/05/function.html

String methods:

https://techlanguage028.blogspot.com/2021/05/string-methods.html

List in python:

https://techlanguage028.blogspot.com/2021/05/list-in-python.html

Tuples and dictionary:

https://techlanguage028.blogspot.com/2021/05/tuples-and-dictionary.html

Program:

https://techlanguage028.blogspot.com/2021/05/program.html

Python programming:

https://techlanguage028.blogspot.com/2021/05/python-programming.html

Exception handling:

https://techlanguage028.blogspot.com/2021/05/exception-handling.html

File operations Python:

https://techlanguage028.blogspot.com/2021/05/file-operations-python.html

Python modules:

https://techlanguage028.blogspot.com/2021/05/python-modules.html

File programs:


Search in python:


Binary search:


Bubble sort in python:


Selection sort in python:


Insertion sort in python:

Merge sort in python:

https://techlanguage028.blogspot.com/2021/06/merge-sort-in-python.html

Quick sort in python:

https://techlanguage028.blogspot.com/2021/06/quick-sort.html

Word count in python from file:


Numpy in python:






Comments

Popular Posts