RosettaCodeData/Task/Associative-array-Creation/Python/associative-array-creation-3.py
2023-07-01 13:44:08 -04:00

1 line
95 B
Python

myDict = { '1': 'a string', 1: 'an integer', 1.0: 'a floating point number', (1,): 'a tuple' }