Computers and Technology, 28.03.2021 19:20 mxddisonxo
Trying to get this code to work. But I keep getting an error for the break. It's a mad lib and it needs to quit when the user input 'quit 0'. Help or hint would be great. Thank you.
user_input = input('Please enter a number and word:')
while True:
m = user_input. split()[0]
n = int(user_input. split()[1])
if m. lower() == "quit":
break
else:
print("Eating " + str(n) + " " + m + " a day keeps the doctor away.")
user_input = input()
Answers: 1
Computers and Technology, 21.06.2019 21:30
Felicia wants to become a head surgeon by december 2013. she designs the career milestones that she would need to complete her goal. by june 2013, she was not licensed. which best describes what she should do?
Answers: 2
Computers and Technology, 22.06.2019 12:40
How do i get the most points, without any effort?
Answers: 2
Computers and Technology, 22.06.2019 23:00
Is an attack that relies on guessing the isns of tcp packets
Answers: 2
Computers and Technology, 23.06.2019 09:00
Which best describes the role or restriction enzymes in the analysis of edna a. to break dna into fragments that vary in size so they can be sorted and analyzed b. to amplify small amounts of dna and generate large amounts of dna for analysis c. to purify samples of dna obtained from the environment so they can be analyzed d. to sort different sizes of dna fragments into a banding pattern that can be analyzed
Answers: 1
Trying to get this code to work. But I keep getting an error for the break. It's a mad lib and it ne...
History, 06.04.2021 19:10
Geography, 06.04.2021 19:10
Health, 06.04.2021 19:10
Mathematics, 06.04.2021 19:10
English, 06.04.2021 19:10
English, 06.04.2021 19:10
History, 06.04.2021 19:10
Social Studies, 06.04.2021 19:10