+ 3

Someone give the correct code please😵

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

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