> People will talk about how they don't have full mastery over the language, but you don't need anything close to that in order to be effective.
My daily work is 80% C# and 20% Python (to make internal Blender tools for our artists). And I'm really bad at Python. I don't know any of itertools. I don't know zip() besides its name. I don't even use lambda.
The result? My bad code can be easily understood by some of more tech-savvy artists.
for x,y in zip(['a', 'b', 'c'], ['1', '2', '3']):
print(x + y)
>>'a1'
>>'b2'
>>'c3'
Usually you just use it to group two items you're iterating through that are the same length. You CAN do items of different lengths but then when one gets used up the rest of the other get tossed IIRC. Can use it in list comprehensions as well of course.
Zip was simpler than I thought when I first saw it.
My daily work is 80% C# and 20% Python (to make internal Blender tools for our artists). And I'm really bad at Python. I don't know any of itertools. I don't know zip() besides its name. I don't even use lambda.
The result? My bad code can be easily understood by some of more tech-savvy artists.
Zip was simpler than I thought when I first saw it.