Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Also, this is devRant.
Not StackOverflow.
Furthermore the question sucks royal ass.
You could've at least posted the part of your code making trouble, how are we supposed to know what's wrong if we can't see it?
Makes sense?
Capito? -
You have multiple globals leading to hard to debug logical race conditions
You use a library but looked at an outdated api reference
You made a fairly basic syntactic mistake
You have mixed indentation because you lazily copied and pasted half working code from stackoverflow
You have lazily copied and pasted half working code from stackoverflow
You haven't thought about your architecture and there are several logical and control flow errors
You used a function that doesn't mutate an object in place and forgot the use the returned value -
Root826024yThe code is doing exactly what you wrote it to. If you want it to do something else, you should rewrite it.
Hope this helps!
Related Rants
-
hashit6Substitute Teacher who apparently majors in Java sees my copy. T - Your programs are incomplete M - You mean ?...
-
unknowndev110Came home to visit parents Dad - Internet on my laptop isn't working (I switched him on a Ubuntu platform beca...
-
FadedCoder15That weird moment when you don't understand what ++ or -- means in devRant cause you Python developer
Please help me what is the mistake in my code???
question
python 3