Code used in video:
Python program to check if string is Palindrome
take inputs
string = input('Enter the string: ')
find reverse of string
reverse = str(string)[::-1]
compare reverse to original string
if(reverse == string):
print(string,'is a Palindrome')
else:
print(string,'is not a Palindrome')
#shorts #shortvideo #python #beginners #trending #youtube #youtubeshorts
En esta página del sitio puede ver el video en línea Palindrome String | Python Program de Duración hora minuto segunda en buena calidad , que subió el usuario Hypertext Assassins 30 enero 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 231 veces y le gustó 6 a los espectadores. Disfruta viendo!