+ 3
Someone give the correct code please😵
2 odpowiedzi
+ 4
#Check your indentation
def FindDiv():
p=float(input("Enter percent="))
if p>=0 and p<=32:
print("FAIL")
elif p>=33 and p<=44:
print("3rd Div")
elif p>=45 and p<=59:
print("2nd Div")
elif p>=60 and p<=100:
print("1st Div")
else:
print("Invalid percent")
print ("program to print Div")
FindDiv () # function call