Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def score(total_points, your_points, desired_score, points_LOTB):
- S_desired_score = desired_score / 100
- points_need = total_points * S_desired_score
- points_get = points_need - your_points
- D_score_needed = points_get / points_LOTB
- score_needed = D_score_needed * 100
- if score_needed <= 0:
- print ("If you skip your final and still pass your class with a", desired_score, "%.")
- if score_needed > 100:
- print ("You can't make a", desired_score, "% even if you make a perfect score on your test.")
- if (score_needed <= 100 and score_needed >= 0):
- print ("You need to make at least", score_needed, "% on your test to make a", desired_score, "% in your class.")
- """
- In the first section, put the total points possible from your course. Ex. (1000, , , )
- In the second section, put the current amount of points you have in your class. Ex. (1000, 875, , )
- In the third section, put the desired score that you are aiming for in your class, in whole number form. If you wanted to make above a 90 percent you would write '90'. Ex. (1000, 875, 90, )
- In the last section, put the total number of points that are left in your class. Ex. (1000, 875, 90, 100)
- """
- score( , , , )
Add Comment
Please, Sign In to add comment