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

1 Expert Approved Answer
Step: 1 Unlock

To complete the ifelse statement and achieve the desired output you need ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!