Python Challenge 2: Simple Palindrome checker Python Easy tutorial. #python #Coding #learnpython

preview_player
Показать описание
code:
def palindrome(word):
if word == word[::-1]:
print('Your word is a Palindrome')
else:
print('Your word is not a Palindrome')

word = input('Please enter your word: ')

palindrome(word)

#PythonChallenge
#CodingChallenge
#PythonProgramming
#ProgrammingChallenge
#BeginnerPython
#IntermediatePython
#AdvancedPython
#PythonProjects
#PythonCoding
#PythonTutorial
#LearnPython
#FunWithPython
#PythonGames
#PythonPuzzles
#PythonScripts
#PythonCodingChallenge
#PythonCodeChallenge
#PythonCodingGames
#PythonProgrammingChallenge
#PythonChallengeIdeas.
Рекомендации по теме
Комментарии
Автор

haha it's crazy how youtube recommended that video having 2 views
I think it's a good concept learning python with challenges but I'd rather wanted an explanation of how these colons work than just raw "this does what it does"

keyseee