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
Nesta página do site você pode assistir ao vídeo on-line Palindrome String | Python Program duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Hypertext Assassins 30 Janeiro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 231 vezes e gostou 6 espectadores. Boa visualização!