![jessnolonger](/avatars/27164.jpg)
jessnolonger
07.10.2020 •
Computers and Technology
Retype and run, note incorrect behavior. Then fix errors in the code, which should print num_stars asterisks.
while num_printed != num_stars:
print('*')
Sample output with input: 3
*
*
*
Solved
Show answers
More tips
- H Health and Medicine Sunstroke: Causes, Symptoms, and Precautions...
- F Family and Home Do You Really Need a Playpen for Your Child?...
- F Food and Cooking Do Aphrodisiacs Really Work? Separating Fact from Fiction...
- C Computers and Internet Log-in: what is it and why do you need it?...
- S Style and Beauty Secrets of Tying a Pareo: 5 Ways...
- F Food and Cooking Everything You Need to Know About Pasta...
- C Computers and Internet How to Choose a Monitor?...
- H Horoscopes, Magic, Divination Where Did Tarot Cards Come From?...
Answers on questions: Computers and Technology
- C Computers and Technology Was ist ein wesentliches Unterscheidungsmerkmal für Accenture bei der Bereitstellung von KI-Lösungen (Artificial Intelligence) für Kunden?...
- M Mathematics Use elimination to solve the system of equations: {2x+3y=1 {x+4y=-2 show work...
- B Biology Which monomers are the basic building block of the nucleus acids both dna and rna...
- E English Match the character to the description from the hunger games thx!!...
Ответ:
Written in Python:
num_printed = 0
num_stars = int(input())
while(num_printed < num_stars):
print('*')
num_printed += 1
Explanation:
Ответ: