Someone give the correct code please😵 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Someone give the correct code please😵

https://code.sololearn.com/c5Et767x9nOe/?ref=app

3rd Oct 2018, 3:00 PM
Sparshika
Sparshika - avatar
1 Answer
+ 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
3rd Oct 2018, 3:17 PM
Frost
Frost - avatar