ShriRam Changed status to publish August 17, 2023
num = int(input(“Number of classes held= “))
clas = int(input(“Number of classes attended= “))
atten = (clas/float(num))*100
print (“Your Attendance is= “, atten,’%’)
if atten >= 75:
print (“You are allowed to sit in exam”)
else:
print (“Sorry, you are not allowed. Attend more classes from next time.”)
ShriRam Changed status to publish August 17, 2023