Hello,
I use both in my daily life as well as during my studies as a digital media production student, I find that there are certain things that each device is uniquely good for so I would recommend making your decision based on whatever factors you consider most important to you.
I use an acer nitro 5 for my coursework which involves using programs like after effects and photoshop which were very slow to use on my older computer, I also started uni with an older laptop and eventually had to bite the bullet and get a new one when I realised it just wasn't going to hold up with some of the programs we were using. I find it is good for large projects and better for writing on than an iPad in my opinion. While it's a budget laptop it has worked really well for what I use it for so far, the only issue is transport as it is heavier than the average laptop. If you only need you laptop for taking notes then going for something smaller and lighter like a Chromebook or MacBook might be a better alternative as those will fit in a backpack easily.
My iPad I use mainly for sketching and drawing, which is a skill i use a lot in my work. I use an apple pencil which has been a huge upgrade to how I was drawing digitally before as it feels more natural like drawing on paper as opposed to the drawing tablets i was using before which I could never fully get comfortable with. If you want to create digital sketches and drawings I would heavily recommend it. It is also more portable than my laptop, which i don't always bring to class with me as it can be difficult to carry there and back as someone to walks to and from uni. It isn't the best for taking notes with for me though, I also prefer to take notes on my laptop and my iPad is mostly a tool I use for drawing and sometimes photo/ video editing on smaller projects. If you would prefer to take notes on an ipad getting a keyboard attachment might be a good idea (I don't use one, but many of my classmates do and they find it to be useful)
Overall though, buy whatever you personally think will fit your needs on your course and would make studying more efficient for you! It all depends on the kind of work you will be using them for and whether one sounds more efficient to you than the other.
Hope this has been helpful!
Leela- ARU