I am beginning to learn python and doing a practice program.
I've inserted the code below.
av_grade = int(input ("What is your average grade? "))
if(av_grade >= 70):
absences = int(input ("How many absences do you have? "))
if (absences <= 5):
credits = int(input ("How many credits have you earned? "))
else:
print("You are not eligible for privileges")
if (credits >= 17):
print("You are eligible for senior privileges")
elif (credits >= 11):
print("You are eligible for junior privileges")
else:
print("You are not eligible for privileges")
else:
print("You are not eligible for privileges")
Looking for any help if possible about what I can do to fix this.