I believe what you're referring to is the unsuspecting peasants code 🤔 (😂). That would basically be the second half of the code in the video, without filtering the text for special characters. You would simply use slicing to reverse the text and compare the reverse with the original to see if they are equal. (This probably won't work if you have punctuation, and/or special characters and/or spaces in the original text)
Another great video! Can’t wait to see more 👌🏼
Thank you
Great video
Thank you so much man
Could you show the if and else code? Thank you for the explanations!
I believe what you're referring to is the unsuspecting peasants code 🤔 (😂). That would basically be the second half of the code in the video, without filtering the text for special characters. You would simply use slicing to reverse the text and compare the reverse with the original to see if they are equal. (This probably won't work if you have punctuation, and/or special characters and/or spaces in the original text)