fork download
  1. x = int(input())
  2. if 0<=x<60:
  3. print("your grade is D")
  4. elif 60<=x<80:
  5. print("your grade is C")
  6. elif 80<=x<90:
  7. print("your grade is B")
  8. elif 90<=x<=100:
  9. print("your grade is A")
  10. else:
  11. print("error")
Success #stdin #stdout 0.01s 7132KB
stdin
-1
stdout
error