Python-Program-to-Find-a-Number-is-Palindrome-or-not Check Whether or Not the Number is a Palindrome in Python Given an integer number as an input, the objective is to check Whether or not the number ...
Here is a palindrome checker written in python. There are two archives: check_palindrome.py and main.py. In check_palindrome.py, the function is_palindrome() receives a string that can be a single ...
今回はPythonの勉強をしたので共有したいと思います。 前から読んでも、後ろから読んでも同じなのかを判断するプログラムの共有したいと思います。 複数あるので何個か共有します 一つ目 s = 'racecar' print(s == ''.join(reversed(s))) # reversedで判断する。 reversedで逆 ...