Answer:
Explanation:
The following code is written in Python. It asks the user for an input. Then cleans the input using regex to remove all commas, whitespace, and apostrophes as well as making it all lowercase. Then it reverses the phrase and saves it to a variable called reverse. Finally, it compares the two versions of the phrase, if they are equal it prints out that it is a palindrome, otherwise it prints that it is not a palindrome. The test case output can be seen in the attached picture below.
import re
phrase = input("Enter word or phrase: ")
phrase = re.sub("[,'\s]", '', phrase).lower()
reverse = phrase[::-1]
if phrase == reverse:
print("This word/phrase is a palindrome")
else:
print("This word/phrase is NOT a palindrome")
I would evaluate baggage and personal belongings, rooms or closets, people's clothing, and if anyone has a weapon.
Answer:
B
Explanation:
Every HTML document must begin with a declaration of what the document is going to be about.
Answer:
1-2
Explanation:
It depends on the amount of information that you have on each slide. You want to make sure you're not going too fast but also make sure you arent taking up to much time. Be sure to speak clearly it will make the presentation better by looking clean and time organized. hope this helps :)
Answer:
ADA LOVELACE
Explanation:
Ada Lovelace was born into a historically famous family. She could have lived well through her father's fame and her mother's money-instead she decided to write a computational algorithm, earning her the title of the mother of programming, and became the first computer programmer in the mid-1800s1,2.
HOPE IT'LL HELP