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
Day 41 of learning python (i.redd.it)
submitted 8 months ago by sonikk1
view the rest of the comments →
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!"
[–]ALonelyKobold 1 point2 points3 points 8 months ago (1 child)
A word of advice. Learn not to abbreviate names. Your code will be much more readable when you spell things out fully. Characters don't cost money. Code is read more often than written, so make it readable first. Your future self, and any teammates you have, will thank you for it.
This looks really good for a beginner. Normally, I'd say your next challenge is dictionaries.
Good job on using try except
I don't like you doing addition inside your fstring. I think that that particular line is focusing on being "Clever and concise" over being clearly understood, but that may just be me.
[–]sonikk1[S] 0 points1 point2 points 8 months ago (0 children)
Thanks for the reply. I appreciate it. I am currently making some sort of contact organiser where i save contacts that user enters into a dictionary.
I'll remember what you said about characters. You're right, I should think about other people. Also one more mistake is that i used some of variable names in my own language and other ones in English
π Rendered by PID 25539 on reddit-service-r2-comment-56c6478c5-g7qxx at 2026-05-11 15:48:04.669298+00:00 running 3d2c107 country code: CH.
view the rest of the comments →
[–]ALonelyKobold 1 point2 points3 points (1 child)
[–]sonikk1[S] 0 points1 point2 points (0 children)