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

Ask an AI advisor a question