fork download
  1. x=int(input())
  2. if x>=90:
  3. print("A")
  4. elif x>=80:
  5. print("B")
  6. elif x>=60:
  7. print("C")
  8. elif x<60:
  9. print("D")
  10.  
Success #stdin #stdout 0.07s 14112KB
stdin
Standard input is empty
stdout
D