renting physical textbooks or renting electronic textbooks

I’m going to be a freshman in the fall and I was wondering if more people rent physical textbooks or if people are renting/buying textbooks online to use on their laptops instead of carrying around the books. Let me know your thoughts! I’m curious. It seems like it would be easier and less of a hassle to use on your computer, but maybe professors like it better if you have a physical copy?