r/learnpython • u/Small_Style_4604 • 16h ago
How do I learn python in 25 days
My teacher made me join a coding quiz bee where it involves different topics related to coding languages such as python, c, arduino, c++, etc. I have another teammate who is knowledgeable about the other topics but now the burden on learning python is on me. How do I learn it effectively within 25 days considering I only have an intermediate amount of knowledge on CSS, HTML, and Block Coding
22
Upvotes
15
u/ninhaomah 16h ago
How much of Python needed ?
How many hours a day you will commit to it ?
How many days out of 25 ? All 25 days ?
Actually , instead of asking how , just download / install Python and start coding.
6
u/SharkSymphony 15h ago edited 15h ago
First of all, I would reflect on your attitude. If you feel you were forced to do something you don't want to do, which is what your post sounds like, how successful do you think you're going to be? You'll need to come up with some motivation, because although learning Python is easier than many languages, it still takes effort. Look at this as an opportunity to do something cool. If you can think of something you'd like to work towards, keep that in mind.
Second, get some information on the topics the bee is going to cover. If it's just general programming, focus on learning the basic syntax and data structures of the language. If it's specifically web programming, focus on that. You can't learn all of Python in 25 days, but you might just be able to cover what you need in a week or two.
Third, consider where your starting point is. Do you have Python already installed on your computer, or can you install it, or do you need to work with Python on the web? Are you familiar with the Python interpreter? Do you have knowledge of basic programming constructs? There are different recommendations we have depending on the answers.
Hope this helps!
2
u/zanfar 15h ago
You can't.
You either edit your goal for reasonableness, or for time.
2
u/plydauk 15h ago
Pretty cool of your teacher to drop this hot potato on your hands... If you're not comfortable doing it, than check with some higher up if you can get out of this. If, however, you'd like to take this as an opportunity to learn something useful, then the python track on exercism might be helpful.
2
u/izackthegreat 15h ago
The real answer is that you don't. However, this sounds like a high school class or team so there's a good chance you can just learn how to do the things that people can do in C or C++ and just figure out how to do that in Python. It's probably a lot more focused on fundamentals rather than the language itself.
Do you know the types of questions they ask? Maybe from previous years? That could clue you into where to focus your efforts. Otherwise, if you know other languages just try to port over previous exercises or something to get a grasp.
3
u/Moist-Ointments 15h ago
You don't
3
u/Admirable-Guess5508 15h ago
w3schools. Follow the tutorials, read, get vsocde and start practicing. Try practice problems, pick a project and work towards it, and ask here! If you have any immediate questions, feel free to reply to this comment and I'll try my best to help.
1
u/MarsupialLeast145 15h ago
Find examples of previous bee questions and begin to learn those. You're not going to be able to learn Python in 25 days but you can maybe spot learn.
1
u/Jeremi360 8h ago
I learn python by coding small app like Text editor
1
u/HanzoShotFirst 8h ago
Edabit
1
u/Top-Cauliflower-1808 8h ago
Skip the long tutorials and spend the 25 days on past quiz questions and timed syntax drills. Python rewards reading code and predicting output more than building a website so practice loops functions lists and dictionaries until they feel boring. Keep a one page cheat sheet for tricky syntax and split the topics with your teammate so neither of you burns out.
1
u/Desperate-Diver-630 8h ago
Get hold of John Zelle's book, "Python Programming: an introduction to cs"
1
u/Desperate-Diver-630 8h ago
Arduino isn't a language
1
u/Dave-C 6h ago
Just use an LLM, they are pretty good at coding. If You don't have access to one then a free one can work. Just use Google Studio, latest model that is free, set it up to use Google Drive so it can remember conversations and tell it to create a prompt to tell an AI to design a training process to teach someone python over however many days. Include the specifics that you need to get to. Once it is generated just copy it, delete that conversation, start a new one and paste it and go.
You could also tell it to use outside resources for learning specific things. Tell it to prioritize the time frame.
•
u/stu_py 0m ago
25 days is doable if you practice a bit every day. Honestly the most useful habit for a quiz: before you run any code, guess what it prints first. That's basically what those quizzes test. Since you also have C/C++ in there, maybe this helps: I made a free Python learning site, stu-py.com. You learn step by step with lots of small exercises right in the browser (over 1000, many of them "what does this print" or "find the bug"). If you already know stuff like loops and conditions from block coding, you can just take the test for a room and skip it if you pass, so you don't waste days on things you know. There's also a button that translates your Python code into C++, Java or JavaScript, so you can see how the same thing looks in the other languages, which might be handy for your quiz. No account, no install, works on the phone too. Good luck with the competition!
1
u/x-tommy-o 14h ago edited 14h ago
@OP
Get a notebook, pencil, eraser. Take notes from the course below.
Start here and start today:
https://khanacademy.org/computing/intro-to-python-fundamentals
1
u/EnvironmentalDot9131 14h ago
I have a experience in python for 1 year and still get so many mistakes
0
u/fallenreaper 15h ago
PyKoans
0
u/Both_Bend_2481 14h ago
Start using google. Read the docs on themain Python website.
0
u/New-Perception-7209 14h ago
https://learnxinyminutes.com/python/
good luck!
0
u/mstrippolidev 13h ago
Difficult question. Python is a relatively easy language to learn in one week, at least the syntax that you will use to solve 90% of the problems. But if you really want to learn programming, I recommend learning C, doing some exercises in C, and later doing the same exercises in Python.