Respuesta :
Answer:
user_tweet = input("Enter the string from the tweet: ")
word = "LOL"
if word in user_tweet:
print('LOL means laughing out loud.')
else:
print('No abbreviation.')
Explanation:
- Prompt user to enter a string representing the tweet phrase using the input function
- Store the string a variable called user_tweet
- use Python's in operator to check if 'LOL' is in the string entered. With an if and else statement print the appropriate message as required by the question