r/badcode • • Apr 24 '21

python very efficient and scalable code

Post image
1.0k Upvotes

110 comments sorted by

View all comments

Show parent comments

2

u/Own-Plantain4057 Apr 25 '21

im very new to coding ok? ;-;

2

u/Suekru Apr 25 '21

Is this actually yours?

2

u/Own-Plantain4057 Apr 25 '21

yeah it is lol

1

u/Suekru Apr 25 '21

As others have mentioned, just need to simplify it into one method. But other than that, I wouldn’t call it bad. Just a bit redundant is all.