Okay! So I just covered the [elif] conditional statement and it seemed pretty simple. So I wanted to try to apply the [elif] to previous exercises and be a little extra for practice!
However, when I applied [elif] to [and] and [or] statements, it only printed the first [if] instead of checking other statements? Any tips on what I might have done wrong or can do to improve this practice?
credits = 190
gpa = 2.5
if gpa >= 2.0 or credits >= 120:
print("La De Dah, You met a requirement to graduate, Kid!")
elif gpa >= 2.0 and credits >= 120:
print ("Holy Crap you met both requirements to graduate!")
else:
print("Wow you gotta do better dood")
All that prints in the above code is the first [if] when it should print the [elif] statement.