Sure, you could use _ as a throw-away variable in a Python for-loop. Yeah, you could definitely do that... like everyone else. Or you could just do this: >>> a = [ (0, 'Hello'), (1, 'Satan') ] >>> for {}[()], x in a: ... print(x) ... Hello Satan >>> Be different.
-
-
Where can I see your upcoming courses?
- Kraj razgovora
Novi razgovor -
-
-
you stumped this EE... once the slight-of-hand syntax is read through, what's going on makes sense... Very cool mental exercise!
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
The students’ tears form double ampersands as they roll down their cheeks.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
And see, here I thought it was the rvalue being iterated over that was diabolical
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.