68 682
Assignments Done
Successfully Done
In January 2019

Answer to Question #52371 in Python for Oz

Question #52371
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.

Highly selective
Moderately selective
Not selective
Expert's answer
s = input("Enter acceptance rate or 'end': ")
while s != 'end':
    rate = float(s)
    if rate <= 25:
        print("Highly selective")
    elif rate <= 50:
    elif rate <= 75:
        print("Moderately selective")
        print("Not selective")
    s = input("Enter acceptance rate or 'end': ")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions