Python: How to Check whether a String is Palindrome or not in a Pythonic Way

Опубликовано: 15 Март 2026
на канале: Always Blue
16
2

In this video, we are going to learn about checking whether a string is palindrome or not in python while following the best practices, along with the usage of "extended slice". After watching this video, one will be able to use else block with try-except blocks in Pythonic Way and also will be able to write a clean python code.

#python #BeingPythonic #PythonicWay #python3

Python Version: 3.9.5
Title: Python: How to Check whether a String is Palindrome or not in a Pythonic Way
Playlist: Being Pythonic

----------- Contents of this video -----------
0:00 - Intro
0:05 - Non-Pythonic Code
1:00 - Non-Pythonic Output
1:07 - Pythonic Code
2:03 - Pythonic Output
2:10 - Outro
-------------------------------------------------------------



----------------------- Credits -----------------------
Song: JPB - High [NCS Release]
Music provided by NoCopyrightSounds
Free Download/Stream: http://ncs.io/jpbhigh
Watch:    • JPB - High | Trap | NCS - Copyright Free M...  

Song: Erlando - Questions (Vlog No Copyright Music)
Music provided by Vlog No Copyright Music.
Video Link:    • Erlando - Questions (Vlog No Copyright Music)  
-------------------------------------------------------------