r/PythonLearning • • 3d ago

Beginner at Python with exam in few weeks

I got a python assignment due on start dec been doing python courses learning basics past few weeks following uni lectures (few months ago) - but since i had no prior xp and most classmates do i felt on the backfoot right away - struggled with basic exercises but will try them again - plus pandas and numpy for a python programme ain't no beginner assignment unless I'm just that inexperienced

14 Upvotes

9 comments sorted by

2

u/ConnectAffect2346 3d ago

Okay well i had similiar experience last year but to be honest the thing that helped me was doing even more work in more creative ways.. You can make as much programs in python as you want and in whichever subject but you need to understand it and so to do that you need to know what is for what, pandas is used mostly for table data, matplotlib and seaborn are used for visualization basic python commands consist of grouping data, editing it and much more so just focus on understanding basic commands and try to memorise what and how you can do basic things and it should go very well🙂

2

u/ImmediateLeather2359 3d ago

Legend you are! But I feel I can read and describe what's happening in code but I feel like a literal 'panda' when trying to write something - like I avoided all the exercises just to (read, watch lectures, and do a beg course) but doing them all now ...

1

u/ConnectAffect2346 3d ago

Okay, I understand where you're struggling and to improve your code writing skills, you should first learn how to write pseudocode. Once you know how to create pseudocode for a program of your own choosing (it doesn't need to be too complex, a simple todo app can be great for that), try writing down all the steps your program needs. Once you understand those steps, start turning your pseudocode into actual Python code, one step at a time, and test things as you go. I think that should really help you consolidate the basics and become more confident in writing code on your own, while it might sound trivial experimenting like this through trial and error is the best method to learn how to make a program🙂

1

u/Available_Safe1818 21h ago

Yes, this is what happens when you have to learn something...

1

u/Classic-Mongoose-460 9h ago

Well, it seems that you simply need to learn and train. I would say that pandas and numpy are not necessarily on the beginners track, but it also kinda depends if you are doing a regular Software Engineering course or maybe something more connected with the Data Analysis or Data Science.

Also if by "assignment" you mean like a homework project you can of course help yourself (kinda "cheat") with LLMs. It all depends on if you want to learn it or just get it over with. (and how your course works)

If you are interested in learning python with exercises and real code in browser I could share this - https://www.blockofbytes.com/ but like I mentioned, it all depends on what exactly you want to achieve.

1

u/Due-Mortgage-6854 5h ago

Hi. You can learn all the basics and more from this website -W3Schools -Pandas -NumPy

It tracks your progress and also provides exercises and worked solutions. You can also use A.I to help you during difficulties. All the bestt

0

u/Aniano39 1h ago

I've been using Java and C my whole high school through college career so I don't know how much to put myself in your shoes and relearn OOP syntax all together, but I made heavy use of 'docs.python.org' when learning Python a few years ago. Mostly to peek at how the "proper" implementation works, then to experiment for a few hours until I get a feel for it.

Of course never be afraid to upload code where you think people will give you hints and clues and help. I even struggled for a little while despite it being the easier version of Java, at least in my mind.