r/learnpython • u/That_Rich_Guy • Mar 22 '23
What do you even code?
I am a beginner to python and all coding. I don't know much. All the recommendations are "code everyday". Practice every day is great but what do I practice? Do I open up an empty IDE and code what? I don't know how to do any projects on my own. Do I just YouTube crap and copy them or what? What do I actually code?
341
Upvotes
1
u/5erif ((√5+1)*.5)^n/√5 Mar 22 '23
When the Worldle game first started to rise, I made a clone.
When Numberphile presented the Monty Hall problem in one video and the Josephus problem in another, in each case I paused the video as soon as the problems but not the solutions were described, and I created simulations.
When NASA was doing something, I became frustrated that illustrations for public consumption never show things to scale, so I found all the figures, learned a graphing package, and created my own accurate scale model.
When I was having trouble tracking my mileage for reimbursement at work, I wrote a script to track my location by address range given to me by DHCP to know which site I was at, and to then generate the mileage paperwork for me. I wrote a Google Maps scraper for that too.
Occasionally something on r/puzzles makes a good programming exercise.
Card games are great for the terminal. I've made Freecell, Blackjack, and UNO clones.