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
Lelu [443]
3 years ago
14

Mad libs are activities that have a person provide various words, which are then used to complete a short story in unexpected(an

d hopefully funny) ways.
Write a program to take the string and integer as input, and outputs the sentence using those items as below.



Def main():
Fields=input().split(' ')
While fields[0].lower()!='quit':
Print('eating {} {} a day keeps the doctor away.'.format(fields[1],fields[0]))
Fields = input().split(' ')


Can't seem to get the code to give me an output.
​
Computers and Technology
1 answer:
Vsevolod [243]3 years ago
5 0

did you just put random a*s word together and expect us to know the ¨answer¨

You might be interested in
Gary lives in an area that receives high rainfall throughout the year. Which device would be useful to him to maintain his compu
-BARSIC- [3]

The correct answer is B.UPS

A UPS or Uninterruptable Power supply makes sure that you have backup in case there is a power outage in your area. It provides ample time for you to save all files before shut down.

6 0
3 years ago
Read 2 more answers
Define ulility software
storchak [24]

Answer: Utility Software is where it helps analyze and maintain the computer system.

I hope this helped.

8 0
3 years ago
Write code to check that HairEyeColor is an array. e) Write code to determine: (i) the total number of respondents in the survey
jek_recluse [69]

Answer:

Explanation:

The following code is written in Java and first checks to see if the class name starts with the character " [ " which would indicate it is indeed an Array. If it is it prints out that it is an Array and then Prints out the number of respondents/entries that the array has. If it is not an Array it prints out that it is not an array.

if (HairEyeColor.getClass().getName().charAt(0) == '[') {

               System.out.println("Yes, it is an Array");

               System.out.println("HairEyeColor has " + (HairEyeColor.length+1) + " respondents");

           } else {

               System.out.println("It is NOT an Array");

           }

5 0
3 years ago
Pls help me computer science discoveries
lara31 [8.8K]

Answer:

jdinwoahdjsioadjsakodsiaohdeioajfnsohfujkdshksyfneowjdfikdjiadjsadhnsuidghaiudbnha

Explanation:

3 0
3 years ago
What is the difference between cybercrime and cyber security?
Klio2033 [76]

Answer: Cybersecurity is ultimately about protecting government and corporate networks, seeking to make it difficult for hackers to find and exploit vulnerabilities. Cybercrime, on the other hand, tends to focus more on protecting individuals and families as they navigate online life.

Explanation:

3 0
3 years ago
Other questions:
  • _____ is when network managers deal with network breakdowns and immediate problems instead of performing tasks according to a we
    9·1 answer
  • Select all that apply. Given the following code fragment, which of the things shown below happen when the statement on line 8 ex
    13·1 answer
  • A virus that propagates using the internet or another computer network is called __________.
    10·1 answer
  • The local emergency manager has the responsibility for coordinating emergency management programs and activities. A local emerge
    7·1 answer
  • A newer kind of mobile site can do a lot of what only apps used to do, so the line has blurred between sites and apps. what are
    9·1 answer
  • What is the latest date you can file the FAFSA if you're planning to start
    6·2 answers
  • Which of the following is the correct financial function that returns the periodic payment for a loan?
    10·1 answer
  • Describe the three essential characteristics of an object fromthe perspective of object oriented paradigm.
    7·1 answer
  • Which of the four digital-to-analog conversion techniques (ASK, FSK, PSK or QAM) is the most susceptible to noise? Defend your a
    11·1 answer
  • A Social agency hires Accenture to improve training and experiences for caseworkers. What is one way Accenture can use Virtual R
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!