Questions LLC
Login
or
Sign Up
Ask a New Question
Computer Science
Programming
Algorithms
FUNCTION PROCEDURE TO INPUT A STRING AND CHECK WHETHER IT IS PALINDROME OUT NOT.
1 answer
depending on the language, just check
s == reverse(s)
You can
ask a new question
or
answer this question
.
Related Questions
What type of variable is finalScore in this code?
finalScore = int(input("What was your final score?")) (1 point) Responses an
Federal Bureaucracy Quick Check
1 of 51 of 5 Items Question Which of these statements explains what the Administrative Procedure
Evaluate the function for the following input:
f(x)=3 - 2x. Which input generates the largest output when evaluating the
Q: Consider a digital circuit that reads an n-bit input string and writes a 1bit output. Two circuits are considered different
Hey, I need your help! I have an input output table that I need the function rule for. The table is like this:
Input: 0 Output:
How many bit strings of length n are palindromes? Hint: Consider two cases n is even and n is odd. Note a palindrome is a
**Q17:**
- Create a function called `sets_from_minifig` that takes as input a minifig number (as a string) and returns a list of
Q17:
Create a function called sets_from_minifig that takes as input a minifig number (as a string) and returns a list of sets a
Hash functions got the name "hash" because it's easy to compute the function with a given input, but nearly impossible to
Compare the two functions below:
Function 1: Function 2: x y 2 -6 4 -5 5 -4 6 -3 (3 points) Put responses in the correct input to