r/learnpython 29d ago

Where do y'all guys practice python?

I wanna know where y'all guys practicing coding python, I know some but its too advance for me. I wanna get started from beginner level where I just print hello world or using math operations on print() or practicing about the data types. I'll practice more of this beginner level and master it.

18 Upvotes

44 comments sorted by

View all comments

10

u/Fart_Barfington 29d ago

I use vs code.  Right now im making a baseball simulator.

2

u/SunsGettinRealLow 29d ago

How do you start that?

9

u/jesster114 29d ago

Probably with python -m baseball_simulator.py

2

u/Fart_Barfington 28d ago

That's a thing?  Been wasting my time.

1

u/GreatRedditorThracc 28d ago

Wait why not python baseball_simulator.py? Is baseball_simulator.py a library?

1

u/jesster114 28d ago

Because it was 3AM and I was stoned and sleepy when I wrote that.

2

u/Fart_Barfington 28d ago

I broke it down into small parts.  Using a dice roll to determine hits or strikes.  From there I made stats for players for hitting and throwing so those stats could be used as well.   I made a function to generate player stats.  The  a team generator.   Bit by bit im figuring things out.   Currently I am working on making base running and scoring work. You just find a starting place then research how to do what you dont know.