Skip to content

Instantly share code, notes, and snippets.

View YamatoDX's full-sized avatar
🍰

Md Shadman Matin (Piyal) YamatoDX

🍰
View GitHub Profile
@YamatoDX
YamatoDX / inputTaker.py
Last active January 16, 2023 13:50
palindrome code with testing
while True:
myInput = input("Enter your string please: \n");
if(myInput.lower() == "exit"):
print("Exiting programm...............");
break;
result = palindromeWord(myInput)
if result == True:
print(f'{myInput} is palindrome')
elif result == False:
print(f'{myInput} is not a palindrome')