bruh im like 'ok maybe i can try learning python on my own' and immediately am stuck cause i cant figure out how to make my cursor go up to delete a previous line
Don’t do it in python terminal. It’s easier to learn in a data science environment like jupyter notebook for Anaconda.
You can break down the code into code blocks/cells so you can easily see which parts are working and which ones are not.