I am wondering if Python has the concept of storing data in the default variable in for loop.
For example, in perl, the equivalent is as follow
foreach (@some_array) {
print $_
}
Thanks, Derek
No. You should just use
for each in some_array:
print each
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With