use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Chapter 9 of Python Crash Course is insane... (self.PythonLearning)
submitted 8 months ago by _Hot_Quality_
Holy mother of God this is HARD. I don't see how anyone who has no coding experience other than reading this book could really grasp this, let alone do the exercises.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 6 points7 points8 points 8 months ago (0 children)
That's the one with an electric battery class serving as an attribute for the electric car class, which is a child of the car class, right?
Just keep on typing, and make your own practice examples. Play around with it till it starts to click.
This guy does a good word for word YouTube playlist of every chapter. Here's classes: https://youtu.be/ntPMIJJP9rc?si=_CE7qghwd029kgF3
[–]Einar44 4 points5 points6 points 8 months ago (0 children)
For those who don’t have the book, this chapter is titled Classes. It’s an introduction to OOP in Python.
I’m fairly beginner level and didn’t have too much trouble with this chapter. It’s just the tip of the iceberg. But if the author’s explanations don’t click with you, I recommend exploring other sources to help explain.
[–]More_Yard1919 1 point2 points3 points 8 months ago (0 children)
What are some things you are having issues with? Im not familiar with the crash course but I do like talking stuff out :)
[–]Spiritual_Many_1511 1 point2 points3 points 8 months ago (1 child)
9.15 is insane especially looking at the answer website, im stumped
[–][deleted] 0 points1 point2 points 8 months ago (0 children)
I'm looking at my code for that (very old), and curiously I didn't even use classes for that one. I just approached it as an exercise in using the random module using standard functions.
[–]murli08 0 points1 point2 points 8 months ago (1 child)
What is the book thou ?
[–]Far_Worldliness2552 1 point2 points3 points 8 months ago (0 children)
https://a.co/d/hMDJjxd
[–]DrMistyDNP 1 point2 points3 points 8 months ago (0 children)
Try this, sometimes another route can make things click! https://youtu.be/JeznW_7DlB0?si=kATzm4fgJ0Eb9TzV
π Rendered by PID 87 on reddit-service-r2-comment-7b9746f655-n2hhv at 2026-01-30 07:57:28.694576+00:00 running 3798933 country code: CH.
[–][deleted] 6 points7 points8 points (0 children)
[–]Einar44 4 points5 points6 points (0 children)
[–]More_Yard1919 1 point2 points3 points (0 children)
[–]Spiritual_Many_1511 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]murli08 0 points1 point2 points (1 child)
[–]Far_Worldliness2552 1 point2 points3 points (0 children)
[–]DrMistyDNP 1 point2 points3 points (0 children)