195k views
1 vote
Need Help! Asap 7.5 code practice (Edhesive)

Need Help! Asap 7.5 code practice (Edhesive)-example-1
User GreatWiz
by
6.9k points

1 Answer

13 votes

Answer:

Make main function

def main():

Make some constants for the grades

A = 5.0 or 4.0

B = 4.0 or 3.0

C = 3.0 or 2.0

D = 2.0 or 1.0

F = 1.0 or 0.0

In the main function call the function you made and make sure to use those constants for help

also don't forget to call your main function or nothing will work

Step-by-step explanation:

Making the main function is good programming practice for your future

Making the constants is also helpful to your programming.

Now how it works you call the function you wrote to calculate the grade.

I don't know how helpful this was this is one of my first answers. I am `also answering how I would do it

User Sam Magura
by
6.3k points