I met a line in python code:
onevariable for(a,b) in range(1,10)
Can you help me how it should be 'read'? Couldn't 'google' any example of 'for' with brackets. Very strange line
I met a line in python code:
onevariable for(a,b) in range(1,10)
Can you help me how it should be 'read'? Couldn't 'google' any example of 'for' with brackets. Very strange line
It's just a target list; tuple assignment is available just about everywhere variables are set, including in a comprehension.