Magazines accept and publish articles. Depending on the percentage of accepted articles, they are classified into four categories:
Acceptance Rate Category
25% or less Highly selective
more than 25%, but 50% or less Selective
more than 50%, but 75% or less accepted Moderately selective
more than 75% Not selective
Write code to accept the acceptance rate and print one of the following messages as per the above table.
s = input("Enter acceptance rate or 'end': ") while s != 'end': rate = float(s) if rate <= 25: print("Highly selective") elif rate <= 50: print("Selective") elif rate <= 75: print("Moderately selective") else: print("Not selective")