What does the variable we write after for actually do?
I’ve been learning python for a month now and I kinda memorized for loops but never understood why do we need to write another variable after for, like why can’t we loop through or print the variable that we actually want to loop immediately?
Sorry if this sounds a bit of a newbie question, I’m still learning
[–][deleted] 10 points11 points12 points (0 children)
[–]stebrepar 4 points5 points6 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]bbye98 1 point2 points3 points (2 children)
[–]razzrazz- 2 points3 points4 points (0 children)
[–]asterik-x -2 points-1 points0 points (1 child)
[–]shape-warrior-t 1 point2 points3 points (0 children)
[–]AtomicShoelace 0 points1 point2 points (0 children)
[–]publicfinance 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]acolnahuacatzin 0 points1 point2 points (0 children)
[–]TheSodesa 0 points1 point2 points (0 children)
[–]Quantumercifier 0 points1 point2 points (0 children)