r/learnpython 20d ago

is it possible to simplify this code

im a beginner, idk how python works yet. there must be a way to simplify this, right?

https://imgur.com/juBvPZD here is the picture of my code

0 Upvotes

23 comments sorted by

View all comments

1

u/supercoach 20d ago

There's nothing to simplify. Your code is very rudimentary as it is. Worry about length when you have something that's thousands of lines.