Very easy Python code that store a str input and checks if it is a palindrome or not This program asks the user to print a string and stores the input at "string_to_check" variable. Then it creates a new variable where it reads the stored input backwards and saves it into "reverse" and checks if it equals to initial input. If yes, the user gets "Your string {string} is a palindrome!" message and "Your string {string} is not a palindrome!" if it's not.
-
Notifications
You must be signed in to change notification settings - Fork 0
merry-mouse/is_a_palindrome
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Very easy Python code that store a str input and checks if it is a palindrome or not
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published