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]
2 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]2 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
Required
soldier1979 [14.2K]

Answer:

Declined sitting

Explanation:

You need to have a lot of abs to do that position so naturally it is not a neutral position. Hope I helped!

3 0
3 years ago
Select the correct answer. Richard owns a chain of hardware stores. He wants to update the store website and write a numbered li
olga_2 [115]
What’s the answer choices ?
3 0
3 years ago
The function below takes one parameter: an integer (begin). Complete the function so that it prints the numbers starting at begi
arlik [135]

Answer:

Program is in C++

Explanation:

C++ Code

1) By using For Loop

void forLoopFunction(int value){

for(int start=value; start>0; start--){

 cout<<start<<endl;

}

}

Explanation

Start for loop by assigning the loop variable to parameter value and condition will be that loop variable will be greater then 0 and at the end decrements the loop variable.

2) By usin WhileLoop

void whileLoopFunction(int value){

 while(value>0){

 cout<<value<<endl;

 value--;

 }

}

Explanation

In while loop first add the condition as variable must be greater then 0 and then print the value with endl sign to send the cursor to next line and at the end of the loop decrements the variable.

8 0
2 years ago
In older systems, often the user interface mainly consisted of _____ screens that allowed a user to send commands to the system.
marshall27 [118]

Answer:

Option (2) i.e.,  process-control is the correct answer

Explanation:

In the following statement, Process-control screen provides users to send command to the system when the interface of the following users is mainly made up of in the older systems. So, that's why the user interface generally consists of a process-control screen which permits the user to transfer the following details in the system.

7 0
3 years ago
If you're working in a table that has three columns and five rows . the first row is the header row i want it to span all three
Ivenika [448]
Select the columns and merge.
3 0
3 years ago
Other questions:
  • You can apply bold, italic, and underline styles to text. But why is it a good idea to use underline sparingly?
    13·2 answers
  • The ____, or typeface, defines the appearance and shape of letters, numbers, and special characters.
    15·1 answer
  • Assume the following variable definitions int a = 5, b = 12; double x = 3.4, z = 9.1. What are the values of the following expre
    7·1 answer
  • a. Write a function called fizzbuzz. This function will take 1 number as a parameter. The function will print all numbers from 0
    15·1 answer
  • I have to make a online presentation, which program is the best
    10·2 answers
  • A network slows down when a network card is locked in a perpetual mode
    12·2 answers
  • The following is part of a log file taken from the machine on the network with the IP address of 192.168.1.106:__________.
    6·1 answer
  • Suppose a process in Host C has a UDP socket with port number 6789. Suppose both Host A and Host B each send a UDP segment to Ho
    8·1 answer
  • A business would use a website analytics tool for all of the following EXCEPT _____.
    9·1 answer
  • Is pseudocode obtained from Algorithm or is Algorithm obtained from pseudocode?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!