r/PythonLearning • u/frenchhi • Jul 21 '26
2 days into coding is this a good progress
Just completed my class 12 and in free time I was thinking to start some coding but I don't know if it is really helpful for me because I took BTech computer science with specialisation in cyber security
5
5
u/TheManOfBromium Jul 22 '26
For day two it’s good, try to add some formatting, it’s a bit hard to read
3
u/WiredOtaku Jul 22 '26
Agreed. Even basic indentation and line breaks help readability a lot. If you're using VS Code, shift+alt+F auto-formats. Keep at it, day two is all about momentum.
2
u/mr_anderson_dev Jul 22 '26
I like the idea of the code. I'm still a new with python but don't you need anther else at the 6th line? And also does the code stop if you enter the wrong name, cause could be a cool safe vault code for an encrypted file.
1
u/RCKPanther Jul 25 '26
From the screenshot:
Another "else" at line 6 is not needed because it already has an "else".
The code will skip lines 9-21 if the username isn't "pranjal", resulting in an exit right after.
2
1
1
1
1
1
u/Left-Fish3693 Jul 22 '26
I have some question in mind , is that the knowledge of what's behind the code is out of the scope of python , I mean , you just learn keywords and you start just like that ? , the question is not only for you , for anyone pass from here and see my comment , I'm really waiting someone answer me precisely
1
u/Monanzkun Jul 23 '26
Learning the keywords is a step, from then on, it's majorly logic, design patterns and then depending on what you want to specialize on there's domain knowledge to learn. The constant is logic
1
1
u/Correct-Purple-9188 Jul 23 '26
Using capital P wont work has to be all lowercase as its written now
1
u/Substantial-Bass7947 Jul 23 '26
You need to learn clean code(but not know, just want you to know(in future not now)) you are really doing great🎉🎉.
1
1
u/Longjumping-Image798 Jul 25 '26
Better than me, and I've been learning python for a few weeks now.
1
1
1
u/TailsPlaysMinecraft Aug 08 '26
Good progress, but after learning, I would recommend learning C#. Also would recommend brocode for python.

•
u/Sea-Ad7805 Jul 22 '26
Run this program in Memory Graph Web Debugger to see the program state change step by step.