Identify the words of Palindrum
Write a program that receives a word and checks if the word Palindrum is.
Palindroum words are words that are read from both sides to the same form like: wolf
Write a program that receives a word and checks if the word Palindrum is.
Palindroum words are words that are read from both sides to the same form like: wolf
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error' alert(msg)This answer is only visible to premium members
This answer is only visible to premium members
def palindrom(): word=input("Enter a word : ").lower() start=word[0] end=word[-1] if start == end: print(f'{word} is palindrom') else: print(f'{word} is not palindrom') palindrom()
word=input("Type your word:") if word==word[::-1]: print("The word is Palindrome") else: print("Your word isn't Palindrome.")
a=input() c=a.lower() b=a[::-1] d=b.lower() if c==d: print('palindrom') else: print('not palindrom')
word = input() letters = [] reversedd = str() count = len(word) while (count > 0): letters.append(word[count-1]) count = count - 1 reversedd = reversedd.join(letters) print (reversedd) if reversedd == word: print("true") else : print("False")
import time start_time = time.time() while True: if time.time() - start_time > 20: print("time up") break name =str(input("enter your name:")) if name == "0": print("end") break if name[0] == name[-1]: print("your name is a palindrame") else: print("your name is not a palindram")
class PalindromeChecker: def __init__(self, word): self.word = word def is_palindrome(self): cleaned_word = self.word.replace(" ", "").lower() return cleaned_word == cleaned_word[::-1] word = input("کلمهای وارد کنید: ") checker = PalindromeChecker(word) if checker.is_palindrome(): print("کلمه پالیندروم است.") else: print("کلمه پالیندروم نیست.")
while True: s = input("enter a word: ") if s=="exit": break print("yes") elif s == s[::-1]: print("yes") else: print("No")
Submitting answers is currently unavailable.
Write a program that gets distance to meters and converts to kilometers and shows at the output tips: each km = 1000 m
Create a button below: when the mouse marker is on it:
Using JavaScript, send a request with the following specifications method = posturl = /test.php FNAME information =? Lname =? Age =? Get the information above through Prompt from the user
Write a program that receives students' scores and names and prints from the highest to the lowest score, respectively
Create a link with the following details by clicking the user link to be directly calling 090000000.
Write a code that uploads a video with an address (test) on the page. There are video control buttons too
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام If you don’t understand the exercise or can’t solve it for any reason, that’s completely
normal—don’t worry 😊
Try checking out easier exercises and reviewing different answers
submitted by others. Gradually, you can move on to more challenging exercises. Also, your answer
might be correct even if it’s different from others.