Fixed that for you. Because over the years I've seen people struggle for months to learn a spell others learn first try. So unless that was changed in recent times easing up on the RNG would be a good thing for the game.
If they made it so a spell was guaranteed to be learned after 10-20 times that alone would go a long way into making it less frustrating when you get hit by a bad RNG episode.