News

The other common use for square brackets is to access elements in a dictionary or a map, as in this Python example: value = data_dictionary['key'] Groovy and C# also use brackets to access properties ...
He says it's a "clear win for Python" when it comes to elegance, in part due to Python's limited use of parentheses and braces. "Python is sleek," he adds.