Python Concepts/Quizzes/Basic data types

{With the following Python code the following applies: +- Single, double and 3 quotation marks all define a string +- 3 strings are concatenated +- 3 double quotation marks enable you to write a string spanning multiple lines. -+ There is an error
 * type=""}
 * True | False

{The following Python code constructs a - Set + List - An error as there cannot be different data types in such a data structure - Dictionary
 * type=""}
 * You can indeed have different data type in Python lists.

{The following Python code is a - Set - Dictionary - List + Tuple
 * type=""}

{The following Python code is a - Set - Array - Named array + Dictionary
 * type=""}
 * There is nothing in standard Python called a named array

{The following Python code may result in -+-- 4 +--- [6, 7] [4, 5] --++  Error Other result
 * type="[]"}
 * a[1] |  type(a)  |  a[2][2]  |  a(2,2)

{The following Python code may result in +-- --+ -+-  ---
 * type="[]"}

{The following Python code results in - - -  +  -  -  -  -  -
 * type=""}

{The following Python code results in - A string where the arguments are concatenated: 'Result: 23' - 31 + An error as you cannot append an integer on a string - A list: ['Results: ', 23]
 * type=""}

{To append a string and an integer -+ +-  +-  -+  +-
 * type=""}
 * Ok | Errors
 * This is C-like/Matlab-like and does not work in Python (unless you define a sprintf function)
 * For this syntax see Python documentation

{Consider the following data structure definition: -+ You can only have strings as keys in Python dictionaries +- You can get the "Bente" value with -+ You can get the "Bente" value with -+ If you do " " the names will be printed -+ If you do " " the names will be printed +- If you do " " the names will be printed
 * type=""}
 * True | False