L = ['a', 'b', 'c']
print(id(L))

L.append('d')
print(id(L))

 Public
Share a link to this review

20.00% issue ratio

R19 Bad variable name

Simple rule: read a variable name as if you were English-speaking person without a context and guess what's inside - and if you have no clue, then you should give it a better name. Exceptions: i, j, x, y etc.

L is a bad name. You should've chosen something more meaningful, like letters.


Create new review request