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
-
kvsm6688yWhat are they trying to do? Looks like they add each number to the last number in the list and print the result?
-
@kvsm exactly. But they were definitely trying to sum up the list and print the final result.
-
@kvsm haha maybe let's get them comfortable with looping before introducing higher order functions.
-
@KeyWeeUsr Python, yes, but they just didn't know what they were doing. Probably a typo from "list_1"
-
@initialcommit nah, I'm just blind. That was clearly a list.... list_ and (s)he used indicies -> list_[0] or so.
Related Rants
-
jsombrio57I recently met a young fella (14yo) playing League of Legends. He asked: - What do you do for a living? - I'm ...
-
devshopmike5Myself 1 week into programming "I can build a website!!" Myself 2 years later and multiple web and mobile app...
-
shinoys36Something which I felt inspirational.. As a programmer or as a Human being, it's our duty to teach others what...
When you teach people how to code as much as I do, having to explain why things like this are so wrong over and over again starts to make you die inside.
undefined
beginners
teaching
newbies