Monthly Twitter Challenge #1: Palindrome 🔤

Welcome to Codédex’s first ever Monthly Twitter Challenge! This one is created by our SWE Intern, @asiqurrahman. 🙌

Codédex

@codedex_io

🐍 Monthly Pytho…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Sonny Li

Welcome to Codédex's first ever Monthly Twitter Challenge! This one is created by our SWE Intern, @asiqurrahman. 🙌

Palindrome:

A word, sentence, or number that reads the same forward or backward (e.g., racecar, civic, and 121).

Challenge:

Create a Python function that:

  1. Takes in a string as a parameter.
  2. Checks if it's a palindrome.
  3. Returns True if it is or False if it's not.

Requirements:

  • 📦 Don’t use any packages.
  • 💬 Make sure to comment the code.

Post your program screenshot in the Twitter thread.

And we will pick a random winner by noon this Friday. The prize is a free Codédex tee and bragging rights! 🏆


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Sonny Li


Print Share Comment Cite Upload Translate Updates
APA

Sonny Li | Sciencx (2022-11-01T16:39:08+00:00) Monthly Twitter Challenge #1: Palindrome 🔤. Retrieved from https://www.scien.cx/2022/11/01/monthly-twitter-challenge-1-palindrome-%f0%9f%94%a4/

MLA
" » Monthly Twitter Challenge #1: Palindrome 🔤." Sonny Li | Sciencx - Tuesday November 1, 2022, https://www.scien.cx/2022/11/01/monthly-twitter-challenge-1-palindrome-%f0%9f%94%a4/
HARVARD
Sonny Li | Sciencx Tuesday November 1, 2022 » Monthly Twitter Challenge #1: Palindrome 🔤., viewed ,<https://www.scien.cx/2022/11/01/monthly-twitter-challenge-1-palindrome-%f0%9f%94%a4/>
VANCOUVER
Sonny Li | Sciencx - » Monthly Twitter Challenge #1: Palindrome 🔤. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/11/01/monthly-twitter-challenge-1-palindrome-%f0%9f%94%a4/
CHICAGO
" » Monthly Twitter Challenge #1: Palindrome 🔤." Sonny Li | Sciencx - Accessed . https://www.scien.cx/2022/11/01/monthly-twitter-challenge-1-palindrome-%f0%9f%94%a4/
IEEE
" » Monthly Twitter Challenge #1: Palindrome 🔤." Sonny Li | Sciencx [Online]. Available: https://www.scien.cx/2022/11/01/monthly-twitter-challenge-1-palindrome-%f0%9f%94%a4/. [Accessed: ]
rf:citation
» Monthly Twitter Challenge #1: Palindrome 🔤 | Sonny Li | Sciencx | https://www.scien.cx/2022/11/01/monthly-twitter-challenge-1-palindrome-%f0%9f%94%a4/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.