The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
Question #692
Both syntaxes are valid. A list can have a trailing coma without an element behind. (coderwall.com/p/4fvcaa/trailing-comma-in-python-data-stru...)
Which syntax is valid?
— The Python Quiz (@thepythonquiz) November 15, 2020
my_list = [1, 2, 3, ]
my_list = [1, 2, 3]
Both#python #python3 #pythonprogramming #learnpython
Question difficulty: π΅π΅π΅π΅π΅