Python Program to check whether Students are allowed to give Exam by Attendance Percentage || Conditional Statement || Python

In this we are going to see a program to check whether Students are allowed to give Exam by Attendance Percentage in Python Programming Language.


attendance = float(input("Enter The Attendance Percent : "))
medical_issue = input("Have You Any Medical Issues(Y/N) : ")
if medical_issue == 'Y' or medical_issue == 'y' and attendance > 60:
    print("Allowed To Sit In Exam")
else:
    if attendance >= 75:
        print("Allowed To Sit In Exam")
    else:
        print("Not ALlowed To Sit In Exam")

# Coded By DHIRAJ SHELKE


#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post