Ashish to [email protected] • edit-21 year ago[@linux](https://lemmy.ml/c/linux) [@programmerhumor](https://lemmy.ml/c/programmerhumor) [email protected]files.mastodon.socialimagemessage-square47fedilinkarrow-up1353arrow-down148file-text
arrow-up1305arrow-down1image[@linux](https://lemmy.ml/c/linux) [@programmerhumor](https://lemmy.ml/c/programmerhumor) [email protected]files.mastodon.socialAshish to [email protected] • edit-21 year agomessage-square47fedilinkfile-text
minus-square@[email protected]linkfedilink2•1 year agoNot the index, the variable in the for loop. Index is always i because it can be unless it’s a nested loop.
minus-square@Zeth0slink1•edit-21 year agoYou’ll receive a visit from ML engineers and data scientists asking if you know the lords and saviors X, y
x = “Am I a joke to you?”;
Whay kind of savage names their loop index x?
Not the index, the variable in the for loop. Index is always i because it can be unless it’s a nested loop.
for x, twit in bird:
You’ll receive a visit from ML engineers and data scientists asking if you know the lords and saviors X, y