In Python, the built-in function len() is used to determine the length of a string (or other iterable objects). The correct syntax is len(string).
In Python, dictionaries are initialized using curly braces {} with key-value pairs separated by colons. The correct syntax for initializing a dictionary is dict = { 'name': 'Alice', 'age': 25 }.
The str data type is used to store textual data (strings) in Python.
In Python, the print() function is used to output text to the console.
In Python, comments are started with the # symbol. Everything following # on the same line is considered a comment.