Hi,

Today I’ll show you the correction of my quiz.

First I didn’t use some loop in the first question. Finally, I used the for loop because we can know the number of iteration. (the user give us the power.)

Then in the second program , I found this expression: print (« * », end = ») to display on the same line.

The second line print(«  ») is only to display my stars alone. If I don’t do it the result would be like this:

******Air-de-AURELIE:Python aureliemartinet$

Have a good night !

Capture d’écran 2015-10-10 à 20.23.46

CC BY 4.0 Quiz #6 by aureliemartinette is licensed under a Creative Commons Attribution 4.0 International License.