27
Day 4; Basic Python Collections(Python 30 Day challenge)
Lists are created by having characters inside square brackets, separated by commas, with each value inside quotation marks
The code below also shows how to access items within a list
List rules
The code below also shows how to access items within a list
List rules









A combination of tuples and lists that can be accessed with a key and a value.
Contains curly brackets , and the key-value pair is separated with a colon, and separated with single quotes
Cannot join maps with the '+' operator
Contains curly brackets , and the key-value pair is separated with a colon, and separated with single quotes
Cannot join maps with the '+' operator

27