Question: Hello, I need help solving this Lab simulation, It uses Find abbreviation for String and Files statements and I am very new at python on
Hello, I need help solving this Lab simulation, It uses Find abbreviation for String and Files statements and I am very new at python on so I need help solving it. It is very difficult. It is very confusing since the there are multiple inputs and can only code one input in the simulation.
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
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
