As Bee said, Naruto learn in 'practical way', ie during actual battle.
He tested his new power on Gai & Kakashi.
Sasuke were too confident about his new power, this he failed.
'Winning, loosing, it does not matter' Naruto had said this before.
In this end, it was a "Win-Win" situation.
Sasuke just closed his rinnegan eye, not enough of chakra; as he use his sharingan eye to see.
As he did said that to give his rinnegan to Kakashi, in order to undo the IT.
This statement proved that he still have the 'good' part of him.
(note: although i am not the pure Sasuke fan, but also must give him the credit that he did became the 'good' person.)