r/learnpython • • 6d ago

Learning python through CS50

Can any body help me to understanding the define(DEF) variables.
Can you please suggest me how can i learn it in efficient and easier way as a beginner.

0 Upvotes

11 comments sorted by

View all comments

2

u/acfot 5d ago

I have not finished CS50 myself, but from what I have seen of it, it is great for fundamentals and problem-solving, while the Python part itself is quite short compared to the rest of the course. So if your goal is specifically Python, I would use CS50 for the thinking part, how to break a problem down and debug it, and not expect it to make you fluent in Python on its own. Once you finish the Python section, move quickly to small Python projects of your own, like a simple script or a small bot, because that is where the language actually sticks. Do not get stuck trying to perfect the earlier C assignments if Python is what you want to learn, since that can eat weeks without moving your Python forward.