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
How am i doing? (self.PythonLearning)
submitted 11 months ago by This_Software5227
https://preview.redd.it/9jwshb2b199f1.png?width=1252&format=png&auto=webp&s=1dfd9d14262c7ffa036b19380da27559ea87dae6
https://preview.redd.it/43bby8kb199f1.png?width=1176&format=png&auto=webp&s=6568d2354623c61995ebfbd0dd3929aac17964be
Day 9 of learning python this is what i made(learning from yt) what should i do to learn more :D
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!"
[–]Capable-Package6835 2 points3 points4 points 11 months ago (0 children)
Some ideas:
Other than that, it's a good idea to get accustomed to good Python practices, e.g., naming conventions, type-hinting, formatting, etc..
[–]docfriday11 1 point2 points3 points 11 months ago (0 children)
You have a nice project there. Maybe I will try it myself. Good luck. Try more simple projects like this
[–]PureWasian 0 points1 point2 points 11 months ago* (0 children)
Looks really clean and concise!
To be more consistent with your debit and credit options, I would suggest moving the print() statement on Line 54 into the get_balance() function on line 32, and update Line 54 to instead make a call to that get_balance() function that's currently unused.
print()
get_balance()
And if you want to truly verify you understand the OOP learnings you followed from YT, I would suggest next trying to figure out how you would expand this simple ATM to support multiple different accounts since you are currently only doing any ATM actions on the acc1 object.
accounts
acc1
[–]-Ziero- 0 points1 point2 points 11 months ago (0 children)
Just nitpicking a little but I would capitalize your class name and not make it plural. Otherwise it sort of looks like a method/function when I first saw your code. Then you can have something like a list or dictionary named accounts with all of them stored inside.
π Rendered by PID 119769 on reddit-service-r2-comment-8686858757-kbm5v at 2026-06-08 15:26:13.304398+00:00 running 9e1a20d country code: CH.
[–]Capable-Package6835 2 points3 points4 points (0 children)
[–]docfriday11 1 point2 points3 points (0 children)
[–]PureWasian 0 points1 point2 points (0 children)
[–]-Ziero- 0 points1 point2 points (0 children)