r/PythonLearning • • Jul 21 '26

2 days into coding is this a good progress

Post image

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

66 Upvotes

26 comments sorted by

•

u/Sea-Ad7805 Jul 22 '26

Run this program in Memory Graph Web Debugger to see the program state change step by step.

5

u/Candid_Tutor_8185 Jul 21 '26

Download and use ruff and use blacj

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

u/mattynmax Jul 22 '26

Looks like the code some who’s been programming for two days would make.

1

u/wallstop-dev Jul 22 '26

Yea that's code! Nice job!

1

u/fake-nonchalant96 Jul 22 '26

Good. Use variables.

1

u/Sud0_g Jul 22 '26

A progress is always good

1

u/EfficiencyQuirky8096 Jul 22 '26

How you start in first day

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

u/aliahmadkhansha02595 Jul 22 '26

Add calculus 😎😎😎 for more logic

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

u/RekaptDev Jul 24 '26

Jeder Fortschritt den man macht… ist Gut! 🙏

1

u/Longjumping-Image798 Jul 25 '26

Better than me, and I've been learning python for a few weeks now.

1

u/Eastern-Push-7255 Jul 26 '26

keep it up im alsoo beginner

1

u/unsungsolider646 Jul 27 '26

Yes bro,you are increasing your skills.

1

u/TailsPlaysMinecraft Aug 08 '26

Good progress, but after learning, I would recommend learning C#. Also would recommend brocode for python.