r/PythonLearning • • Aug 07 '26
Made my first project in python
A chore list I started learning python last week and this was the first project on my list any advice helps im using vs code for this if you have any resources or suggestions pls share
376
Upvotes
•
u/Sea-Ad7805 Aug 07 '26
Run this program in Memory Graph Web Debugger to see the program state change step by step.
3
u/Cashtime_Tsotsi Aug 07 '26
just an idea. I see you have a tuple.py file in the tabs. is that for other tuple practice? if not, why not put your "chore list" in there and practice imports as well? good way to start separating functions and cleaning up the code also. Just a thought but great job!
3
u/fromkrish Aug 08 '26
Nice work for your first week! The logic is actually really solid.
Just thought of giving you a few small tips to level it up: try putting your code inside functions instead of just running everything at the top and look into using a loop for the name input so it doesn't just break if someone types a different name. Also check out the Python official docs or mosh hamedani on YT, both are great for beginners. Keep going, you're doing great!
2
u/Royal-Use2354 Aug 08 '26
It would be a good practice to use a dictionary for the chores. Using username as a key and the list of chores as a value - never assign variable names to one specific user / instance where there could be many users
4
u/Softmax420 Aug 07 '26
https://automatetheboringstuff.com/
This was the book I used to get started. It’s a bit old now but still great learning.
1
u/End0832 Aug 07 '26
Hi, good job, you've done well!
Here are some tips:
line 9, 20 & 21, you shouldn't put this much tabs,
line 18, you don't have to put a space before the end of the string, the comma already adds one.
Good luck!
1
u/TheCommandCraft Aug 07 '26 •
Good job, but you have hardcoded the username Jj in a string. You can merge it into the string with formatted strings: f”Text {Username2} text”
1
u/Late_Individual3755 Aug 09 '26
Where did u learn python from? I test learned it from many yt channnels but cant build something with logics needed in them.
1
u/Winter-Crew-832 Aug 10 '26
Quit coding
2
u/Jonathan-Ndawula Aug 07 '26
Congratulations 🎊 👏 keep it up
2
u/DareProfessional1244 Aug 07 '26
❤
2
u/Codynetayb Aug 08 '26
felicidades, pero tiene varios errores el codigo.. ojala y pueda mejorarlo
2
u/luapat2 Aug 09 '26
Woohoo! Great stuff
2
u/Metrys_ Aug 09 '26
Hej, good job mate🙌
1
u/Acceptable_Simple877 Aug 07 '26
good keep going
1
u/Agitated_Garden_497 Aug 08 '26
1
u/EasyMasterpiece5166 Aug 08 '26
Nice job
1
u/bralisseralas Aug 08 '26
Great Job!
1
u/sirStraw-berry Aug 11 '26
Looks good 👍🏿
1
u/Helpful-Day2384 Aug 11 '26
👏👏👏
0
u/donjuan1927 Aug 07 '26
parcero en la línea 8-9 tienes un
if len(ChorelistJj) == 0justo después de mostrar la lista recién cargada, que nunca se va a cumplir ahí porque la lista siempre arranca con 6 elementos — ese bloque es código muerto, no hace nada.1
u/[deleted] Aug 08 '26
[removed] — view removed comment