lundi 24 février 2020

Assistance needed with assignment [duplicate]

My professor has me doing the following assignment, and I honestly have no idea where to start my "research", let alone the code, other than to ask here - to you my fellow peers. So, any and all input would be appreciated it.

Assignment: Write a python script that uses random to generate a random grade (4.00 grading scale) inside a loop, and that loop keeps running until it generates a 4.00 GPA. Once you have randomly generated a 4.00, print the number of iterations it took to randomly generate.




Aucun commentaire:

Enregistrer un commentaire