1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
k0ka [10]
3 years ago
4

Complete the if-else statement to print 'LOL means laughing out loud' if user_tweet contains 'LOL'.

Computers and Technology
2 answers:
const2013 [10]3 years ago
6 0

Answer:waaaaat

Explanation:

jonny [76]3 years ago
4 0

Answer:

# The user is prompted for input

# the input is assigned to user_tweet

user_tweet = str(input("Enter your tweet here:"))

# if statement to check if LOL is in the user_tweet

if('LOL' in user_tweet):

# If there is LOL in the user_tweet, it display

# LOL means laughing out lous

print("LOL means laughing out loud.")

# if there is no LOL in the user_tweet

# it display "There is no LOL in the tweet

else:

print("There is no LOL in the tweet")

Explanation:

The code is well commented and written in Python.

It prompts the user for tweet, then check if the tweet contains LOL, it there is LOL it displays "LOL means Laughing out loud" else it display "There is no LOL in the tweet".

You might be interested in
I have crummy WiFi and a bad pc. If I get a gaming computer, will it improve my FPS or ping?
qaws [65]

Answer:Get cox wifi

Explanation:

8 0
3 years ago
Read 2 more answers
In this scenario, what is the importance of anti-virus software and other similar virus protection programs?
Svetradugi [14.3K]
To protect my computer form hacking and save my files
3 0
4 years ago
In a _____ network, each device on the network is attached to a central router. If the router fails, then the other devices will
Damm [24]

Answer:

In a STAR TOPOLOGY network, each device on the network is attached to a central router. If the router fails, then the other devices will be unable to communicate, but if only one connected device fails, then all other devices will still be able to communicate.

Explanation:

In this type of topology all the computers are connected to a single router through a cable. This router is the central node and all others nodes are connected to the central node.

7 0
3 years ago
How do you adjust the shear of a shape?
Aloiza [94]
The answer is D. Appearance panel
7 0
4 years ago
Read 2 more answers
You must lower your high beams when within how many feet of an approaching vehicle?
drek231 [11]

2000 feet of any vehicle

7 0
3 years ago
Other questions:
  • Binary is best interpreted by a computer because?
    8·2 answers
  • The cold war actually helped in the development of the internet true or false
    8·1 answer
  • Which of the following problems is least likely to be solved through grid computing? Financial risk modeling Gene analysis Linea
    14·1 answer
  • What does the Python print() function do?
    7·1 answer
  • To control how and when the slides should appear during the slide show, we use the__________________ feature​
    12·1 answer
  • Who has pad let and wants to talk
    15·2 answers
  • 5. Write the name of the tab, command group, and icon you need to use to access the
    11·2 answers
  • Read each question below. Then, using the drop-down menus, decide if it represents the purpose, construction, or support aspect
    11·1 answer
  • Ema Company for business .
    14·1 answer
  • A piece of data in a program whose value can change is called a(n) -
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!