Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Accounting for Non-Accounting Students

Authors: John R. Dyson

8th Edition

273722972, 978-0273722977

More Books

Students also viewed these Programming questions