Rats are apparently also smarter.
https://static.boredpanda.com/blog/wp-content/uploads/2016/0...
Back when I was a student I used to keep a couple, and several local friends also had one or two. They make good pets - larger and less fragile than mice, smarter and more interactive than gerbils, and not at all prone to biting you randomly.
I regularly feed squirrels coming to my window. Some of them are curious and brave enough to enter the room through the window, and they definitely learned what actions of mine lead to food appearing at the windowsill.
Animals are fun.