Computers and Technology

Create a function is_palindrome_sentence(..) that has one string parameter and return True if the parameter is a sentence palindrome and False otherwise. 1.1. Go over all string parameters and create a new string with no " ", ",", ".", "!", "?", "'" 1.2. Unify all characters in a created string using upper or lower 1.3. Use slicing with specific steps to create a backward string (You also can use for loop, but try slicing if you can) 1.4 Compare the forward and backward strings to get the result and return it. Create a program that would read a number of following sentences and as many sentences. Check each sentence on being a palindrome. Print the number of palindromes.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 08:00, razielcornils04
What is the algorithm for building a binary tree program
Answers: 2
image
Computers and Technology, 23.06.2019 19:00, nayo2006
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
image
Computers and Technology, 24.06.2019 11:00, dirttrackr75
Which of the statements below describe the guidelines for the use of text in presentation programs? a. do not use numbered lists. b. fonts should be appropriate for your audience. c. limit the number of fonts you use to three or four. d. only use bulleted lists for sales promotions. e. select font sizes that are appropriate for your delivery method. f. use font colors that work well with your background. select all that apply
Answers: 1
image
Computers and Technology, 24.06.2019 13:30, yola32
What is the most important for you to choose before you build a network?
Answers: 1
Do you know the correct answer?
Create a function is_palindrome_sentence(..) that has one string parameter and return True if the pa...

Questions in other subjects: