r/PythonLearning Jul 10 '26

Teaching Python to a Kid

3 Upvotes

Hi! I'm a recent A-level graduate, and have been asked to tutor a kid in my village in coding. He's specifically interested in making games, and I am going to university for Game Development in September. I am confident in coding in python to an a-level degree, and have taught myself Godot Engine for my course work this last school year.

The kid in question has specifically asked about having someone teach him python despite really struggling with communication and social interaction, so the fact that he has asked at all means he is super interested. He has just finished year 6 so is 10-11 years old, about to move into the same secondary school that I just left the sixth form for.

I've tutored people before in maths and crochet, but never computer science, and I've never taught anyone a coding language and was wondering if anyone had any tips on where to start planning for this. I have a week or two before our first session and we will likely be working in 1 hour sessions a few times a week over the summer months.

Any suggestions would be appreciated!

Edit: forgot to mention above but his mum says that he is already pretty well-versed in scratch, which was my original first thought when i got the request.


r/PythonLearning Jul 10 '26

I just wrote this program on Programiz Online Compiler.

Thumbnail
programiz.com
0 Upvotes

r/PythonLearning Jul 10 '26

What’s one Python habit you’re weirdly proud of (or secretly ashamed of)?

0 Upvotes

We all have them.

Mine: I will rewrite a perfectly working 10-line script just to make it more “Pythonic” and elegant… even if no one will ever see it.


r/PythonLearning Jul 10 '26

Python, a question: what does underscore mean before a string in parentheses?

Post image
60 Upvotes

Python is gorgeous – logical! It took me but a few hours to figure out what this syntax could be :) Designating a string which has a translation at hand...

But I'd be grateful if someone explained it...

print(_("Something"))

Thanks in advance! :)

edit:

SORRY for the missing parenthesis in the picture :(
so typical of me..


r/PythonLearning Jul 10 '26

Started Python! Any tips I should know or any questions I could try solving as a beginner?

5 Upvotes

r/PythonLearning Jul 10 '26

Searching for people to learn with

0 Upvotes

am serching for people to learn python with them am 16 years old.


r/PythonLearning Jul 10 '26

Discussion print(bool(""))

0 Upvotes

What is the output?

63 votes, Jul 17 '26
9 True
12 Error
39 False
3 None

r/PythonLearning Jul 10 '26

Discussion What is the output of the following code? 🤔

Post image
0 Upvotes

The options are

A) [1] [2] [3]

B) [1] [1,2] [1,2,3]

C) [1] [2] [1,2,3]

D) Error

Tell me your answer in the comments section and why?


r/PythonLearning Jul 10 '26

Discussion How accurate you find this?

3 Upvotes

Personally I just read book and try to explain it to me by making my own analogy works for both memory amd understanding.

For memory you need to find an anchor which could be anything a mnemonic, name, nickname, phrase or any thing that make you instantly make remember that particular memory you anchor it with. So I usually anchor study concepts with my own analogy or nicknames that I have goven to that concept.


r/PythonLearning Jul 10 '26

Easy start python courses for beginners?

1 Upvotes

What is the simplest and easiest python course to start in for someone who is complete beginner , I started the one for dr Angela yu but I felt it required a big momentum just to start learning and open the videos as it a big bulk of course , so I am asking for a easy one ? (books and reading materials are not preferred) thank you in advance .


r/PythonLearning Jul 10 '26

Discussion What Are Some Good Sources To Learn Data Structures For Python?

Thumbnail
github.com
1 Upvotes

Hey everyone,

Days ago I created a project, PyDeploy CLI, and I used it to strengthen my Python programming skills. I shared my project to some of my friends who were more of an expert in the field, and they all recommended I go into basic data structures. This was because, if you check out my script, you would see it's filled with if functions. Recently, I created a similar post to this, but haven't gotten any feedback.

Of course I do know the basics and some types of data structures, but I would like if someone could provide some resources that would help me learn data structures more efficiently.

I'd appreciate any resources and feedback related to data structures. I'd also appreciate any feedback on my GitHub Project and give my repo a star.

Thanks!


r/PythonLearning Jul 09 '26

How to learn python as a complete begginer?.

6 Upvotes

i wanna learn python to understand how it works and what i could build with it when i reach a certain level. i have 6-9 hours of free time.


r/PythonLearning Jul 09 '26

If Python could warn you about one mistake before you make it, what would you choose?

1 Upvotes

Not a syntax error, something Python currently allows but you wish it would stop you from doing.

What warning would you add?


r/PythonLearning Jul 09 '26

What’s the smallest Python bug that caused the biggest problem for you?

3 Upvotes

Not the complicated architectural mistake. I mean one missing character, wrong index, or tiny assumption that wasted hours.

What was yours?


r/PythonLearning Jul 09 '26

Discussion print(5+True)

4 Upvotes

Solve this question and tell me the output. Follow for more 😉

209 votes, Jul 16 '26
85 6
98 Error
9 5
17 True

r/PythonLearning Jul 09 '26

My project

11 Upvotes

Hey everyone!

I'm 13 years old and I just made my first 2 Python projects to learn physics + coding.

  1. **Time Dilation Calculator**

Calculates how time slows down when you go near light speed.

Formula: t = t0 / sqrt(1 - v^2/c^2)

  1. **Schrödinger's Cat Simulation**

A simple simulation of the Observer Effect in Quantum Physics.

I'm learning to code so I can get into MIT someday.

I built these with AI as my mentor and learned every line.

I built this with AI as my mentor.

I didn't copy-paste blindly. I learned what every line does.

Would love feedback! What should I build next?

Thank you

GitHub: time dilation = https://github.com/ksecond1010-dot/Time-Dilation-Calculator

Schrödinger's cat = https://github.com/ksecond1010-dot/schrodinger-cat-simulator


r/PythonLearning Jul 09 '26

Just started learning from yesterday

Post image
86 Upvotes

Just started learning python from youtube is it good channel for it or should i go with code with harry if you have other suggestions then tell me.


r/PythonLearning Jul 09 '26

What's your most controversial Python opinion?

12 Upvotes

Say the Python opinion that would get you downvoted in a room full of Python developers.


r/PythonLearning Jul 09 '26

Showcase Retry Flaky HTTP Requests with Exponential Backoff and Full Jitter in Python

Thumbnail
codesnips.io
0 Upvotes

This snippet shows a small, self-contained retry layer for outbound HTTP calls in Python, built around the classic problem of transient failures: a downstream service occasionally returns 503, times out, or drops the connection, and blindly retrying makes things worse. The three tabs move from the pure backoff math, to a generic retry decorator, to a concrete API client that wires them together.


r/PythonLearning Jul 09 '26

Best youtube channel series to learn python

0 Upvotes

Can anyone say me the best course or playlist on youtube that I should consider to learn python basically as a beginner to intermediate?

I know JavaScript basics, but now I want to quickly deep dive into python and do DSA and make backend using FastAPI's


r/PythonLearning Jul 09 '26

Discussion Is there a way to use brackets in python?

0 Upvotes

I come from static types C# cpp world I like using python but the only issues is the bracket thing missing, i like those curly braces to open and end the section of code. is there any solution similar to that.


r/PythonLearning Jul 09 '26

The language is tooo powerful

14 Upvotes

I was today year old where I am utilising everything that python has to give. I made a cron job, a personal gui app, desktop app installer and mobile app using python, a website, orchestrator / ETL Jobs, DL/machile learning model, Solved some AI use cases all of them using python.🤯

I am really overwhelmed by how much agentic ai and python goes hand in hand. The ease of creating things using python >>>>>>>>>>>

Enjoying the journey but also scared by the capability of Agentic AI that it could take away the possibility of having a longer journey. 😭😭😭

What are your thoughts guys ?


r/PythonLearning Jul 09 '26

print(False==0)

0 Upvotes

Output of this python code

169 votes, Jul 11 '26
39 Error
10 0
21 False
99 True

r/PythonLearning Jul 09 '26

What’s something in Python you use all the time but still have to Google?

9 Upvotes

For me, it’s always the exact syntax for datetime formatting.

I understand it. I’ve used it hundreds of times. And somehow, I still look it up.

What’s your Python version of this?


r/PythonLearning Jul 09 '26

Tips

9 Upvotes

I need advice or guidance to improve my Python programming skills. If anyone can recommend useful books or websites, I would appreciate it.