Another way to say "Learning can be fun" is "It can be fun to learn."