x=int(input(“enter your attend days:”))
y=300
total=x*100/y
print(total)
pr=total
tt=75
if pr>=tt:
print(“you are allowed to sit in exam”)
else:
z=input(‘did you had any problems ? yes or no : ‘)
if z==”yes”:
print(“you are allowed to sit in exam”);
else:
print(“you are not allowed to sit in exam”);