Skip to content

Commit d27c822

Browse files
Update Palindrome_Checker.py
I have made a small change in lines 6 and 7. Actually we don't need to initialize the variables 'phrase' and 'givenphrase'.
1 parent b66ed8f commit d27c822

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Palindrome_Checker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# PALINDROME: A word, phrase, or sequence that reads the same backward as forward
44

55
samplePhrase = "A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal-Panama!"
6-
givenPhrase = ""
7-
phrase = ""
6+
#givenPhrase = ""
7+
#phrase = ""
88

99
givenPhrase = input("\nPlease input a phrase:(Press ENTER to use the sample phrase) ")
1010

0 commit comments

Comments
 (0)