Ta có: \(B=\dfrac{2017+2018+2019}{2018+2019+2020}=\dfrac{2017}{2018+2019+2020}+\dfrac{2018}{2018+2019+2020}+\dfrac{2019}{2018+2019+2020}\)
Mà \(\dfrac{2017}{2018}>\dfrac{2017}{2018+2019+2020}\)
\(\dfrac{2018}{2019}>\dfrac{2018}{2018+2019+2020}\)
\(\dfrac{2019}{2020}>\dfrac{2019}{2018+2019+2020}\)
\(\Rightarrow\dfrac{2017}{2018}+\dfrac{2018}{2019}+\dfrac{2019}{2020}>\dfrac{2017}{2018+2019+2020}+\dfrac{2018}{2018+2019+2020}+\dfrac{2019}{2018+2919+2020}\)
\(\Rightarrow A>B.\)
Vậy \(A>B.\)