collections.Counter()

  • + 4 comments

    can anybody shed light on how the if condition is working here-

    if shoes[size]:
    

    is there any good reading material where I can find about this?

    Thanks