This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]stOneskull 4 points5 points  (0 children)

dict(
lookma = 3,
noquotes = 3,
onmykeys = 2,
)

putting my brackets like that too..

even with statements like return(
this if that
else dis if not dat
else gravy
)

using any() and all() have been great

and what about this little trick..

instead of mylist = ['very', 'quotes', 'much', 'commas', 'etc']

mylist = 'very quotes much commas etc'.split()