fork download
  1. a = float(input())
  2. b = float(input())
  3. c = float(input())
  4. d = float(input())
  5. e = float(input())
  6. dtb = (a + b + c + d + e) / 5
  7. if 9 <= dtb:
  8. print('Xuất sắc')
  9. elif 8 <= dtb:
  10. print('Giỏi')
  11. elif 7 <= dtb:
  12. print('Khá')
  13. elif 5 <= dtb:
  14. print('Trung bình')
  15. else:
  16. print('Yếu')
  17.  
Success #stdin #stdout 0.09s 14124KB
stdin
8
8
8
8
8
stdout
Giỏi