今回はPythonの勉強をしたので共有したいと思います。 前から読んでも、後ろから読んでも同じなのかを判断するプログラムの共有したいと思います。 複数あるので何個か共有します 一つ目 s = 'racecar' print(s == ''.join(reversed(s))) # reversedで判断する。 reversedで逆 ...
Activity 1.1 PALINDROME Write a function called isPalindrome(text) that: • Accepts a string as input. • Returns True if the string is a palindrome (reads the same backward and forward), and False ...
You can create a release to package software, along with release notes and links to binary files, for other people to use. Learn more about releases in our docs.
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する