Question: Complete the if-else statement to print 'LOL means laughing out loud' if user_tweet contains 'LOL'. Sample output from given program: LOL means laughing out loud.
Complete the if-else statement to print 'LOL means laughing out loud' if user_tweet contains 'LOL'. Sample output from given program: LOL means laughing out loud.
user_tweet = 'I was LOL during the whole movie!'
'''Your solution goes here'''
print('LOL means laughing out loud.')
else:
print('No abbreviation.')
Step by Step Solution
3.48 Rating (155 Votes )
There are 3 Steps involved in it
To complete the ifelse statement and achieve the desired output you need ... View full answer
Get step-by-step solutions from verified subject matter experts
