Practice your newfound coding skills with these projects below!
For all of these project the following tips will help you:
Plan out your logic in pseudocode first. Pseudocode is where you plan out your logic in plain English keeping in mind the coding structures/ideas you want to use.
If student’s grade is greater than or equal to 60
Set total to zero
Set grade counter to one
While grade counter is less than or equal to ten
Input the next grade
Add the grade into the total
Set the class average to the total divided by ten
Print the class average.
You will need the input() function to obtain user input.
You will need to look up while loops in Python to validate user input.
Use functions in your code to make it easier to write and debug.