tutorial |
---|
-
Write a function to programmatically print in the console the types of values that the list contains in each position.
-
You can use a
for
loop.
-
You can use the
type()
Python function. -
Remember that
len()
returns the length of your list.
<class 'int'>
<class 'bool'>
<class 'str'>
<class 'list'>
<class 'str'>
<class 'float'>
<class 'dict'>