Win / TheDonald
Sign In
DEFAULT COMMUNITIES Front All General AskWin Funny Technology Animals Sports Gaming DIY Health Positive Privacy
Reason: None provided.

how would the interpreter know that "vote" is the singular of "votes" lol.

Is this really compileable code? what language is it?

114 days ago
1 score
Reason: None provided.

how would the interpreter know that "vote" is the singular of "votes" lol.

Is this really compileable code? what language is it?

I would guess that the loop header is saying:

For v in votes where v is of type 'Vote' and votes is a list of 'vote' objects: {stuff}

but if that's correct, then the body of the loop makes zero sense.

114 days ago
1 score
Reason: Original

how would the interpreter know that "vote" is the singular of "votes" lol.

Is this really compileable code? what language is it?

114 days ago
1 score