Considering migrating to Python from Visual Basic 6 for engineering applications

Steven D'Aprano steve at pearwood.info
Fri Feb 19 05:18:27 EST 2016


On Fri, 19 Feb 2016 01:14 pm, BartC wrote:

> On 19/02/2016 00:30, Steven D'Aprano wrote:
[...]
>> "Then don't do that. What if you pass the source code through a system
>> that strips out braces?"
> 
> Python doesn't use braces, so that's not a problem!


mydict = {23: 'twenty-three', 17: 'seventeen'}
myset = {1, 2, 4, 8}

:-)



-- 
Steven



More information about the Python-list mailing list