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
miv72 [106K]
3 years ago
8

Print a countdown from n to 1 The function below takes one parameter: an integer (begin). Complete the function so that it print

s the numbers starting at begin down to 1, each on a separate line. There are two recommended approaches for this:
(1) use a for loop over a range statement with a negative step value, or

(2) use a while loop, printing and decrementing the value each time.

student.py 1 - def print_countdown(begin): # Implement your function here. Be sure to indent your code block! Restore original file
Computers and Technology
1 answer:
Luba_88 [7]3 years ago
4 0

Answer:

Explanation:

>>> def print_countdown(begin)

>>> i = begin

>>> while i < 1:

>>>  print(i)

>>>  i = i - 1

>>>print_countdown(0)

You might be interested in
Clarifying and developing our personal values involves a number of steps including critical thinking
Grace [21]
True. I think we should trust ourselves and interaction with someone including teachers, classmates and parents...We must be developing our critical thinking skills.
8 0
3 years ago
What is a peripheral device?
saul85 [17]

Answer:

a peripheral device is a device used to put information into as well as get information out of a computer

Explanation:

4 0
3 years ago
The success of Eye of the Storm exemplifies:
lyudmila [28]
A should be correct i think
6 0
3 years ago
Read 2 more answers
On Election Day, TV news network Houston News One is trying to project the 2018 Texas election results. They send pollsters to 4
Leni [432]

Answer:

entrance poll

Explanation:

Based on the information provided within the question it seems that the type of poll that the news network is conducting is an entrance poll. This refers to asking question (poll) to people outside of the voting center before they enter to place their vote as opposed to exit poll which is done after the individual has placed their vote.

8 0
3 years ago
(a) Give three advantages of holding a video-conference rather than a face-to-face meeting.​
NikAS [45]

Answer:

1.) Higher productivity and efficiency

2.) More effective communication

3.) Saves money on gas.

6 0
3 years ago
Read 2 more answers
Other questions:
  • What type of data visual would you use to illustrate trends over time? Gantt chart Bar graph Line chart Scatter diagrams
    5·1 answer
  • Which of the following will affect the size of your monthly mortgage payment? A The size of your down payment B The length of yo
    5·1 answer
  • The trim video feature allows you to trim your clip by time measurements that are accurate to ____ of a second.
    5·1 answer
  • Why do i have to wait and watch videos
    11·1 answer
  • What is the average time a caller waits for an operator to answer?
    7·1 answer
  • What questions do they ask for the 08.03 Discussion- Based Assesment in Drivers Ed?? Thanks.
    11·1 answer
  • Which code segment results in "true" being returned if a number is even? Replace "MISSING CONDITION" with the correct code segme
    9·1 answer
  • PLEASE HELP ILL GIVE BRAINLIEST IMMEDIATLEY TO THE CORRECT ;-;
    10·1 answer
  • Body positioning is an example of what type of communication?
    6·1 answer
  • If you use your computer primarily for telnet into a remote computer, will you have a large long distance telephone bill?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!