python () vs [] vs {} code example
Example 1: python -> vs .
foo->bar() is the same as (*foo).bar()
Example 2: python () vs [] vs {\
() - Tuple
[] - List
{} - Dictionary or set
foo->bar() is the same as (*foo).bar()
() - Tuple
[] - List
{} - Dictionary or set