Teofimo Lopez put on a boxing master class when he beat Vasyl Lomachenko ... but the 23-year-old star tells TMZ Sports it's actually him who learned from the former pound-for-pound king.
Teo and Loma don't like each other, but beef squashed now, right? Nope. Lopez had a message for the Ukrainian star ... "Thanks Loma, even though, f*** you, but thank you."
Teofimo -- who was a 3.5 to 1 underdog -- shocked the sports world when he beat Lomachenko via a unanimous decision win in October 2020 in Las Vegas.