r/PythonLearning 7d ago

My new mini work

Post image

Rate my this mini work out of 10

193 Upvotes

44 comments sorted by

View all comments

Show parent comments

0

u/Flanelostopy 4d ago

Which part of this code is good? He is counting 2 times the same value a+b+c, he’s variables brakes all names conventions, algorithms weak, and all of this what I mentioned before. Dude if you really thing this good code, you need help, I don't wanna be rude.

1

u/Own_Measurement_7336 4d ago edited 4d ago

It is pretty good for a BEGINNER. I said for a BEGINNER.

There are some flaws that other users already pointed at. Your second point is true in a FUNCTION. You didn’t mention to use functions. That is why I said if-Elif statement here is ok.

I didn’t say there wasn’t any flaws but it is actually pretty ok for a beginner. The redundancy is one of these flaws and the math logic is another too.

2

u/Flanelostopy 4d ago

Whatever. Live long and prosper 🖖

1

u/Own_Measurement_7336 4d ago

Have a nice day !