3 ms·
I forget which book this was from, but when I was learning python back in 2003 a major selling point was 'you can't make assignments in control structures'. Hap
by antt 8y ago
I forget which book this was from, but when I was learning python back in 2003 a major selling point was 'you can't make assignments in control structures'. Happy days to a physics undergrad who had seen more if(a=3) in C code than he could shake a stick at.
Sometimes less is more. Python is turning into more is less. It doesn't need to be everything to everyone.