loops
Output:
things: [7, 4.2, 'juggling ball', True]
things[0]: 7
things[2]: juggling ball
things[0:2] [7, 4.2]
things[-1]: True
things[-2]: juggling ball
printing items
item: 7
item: 4.2
item: juggling ball
item: True
printing range(5)
x: 0
x: 1
x: 2
x: 3
x: 4
printing range(11, 20, 2)
x: 11
x: 13
x: 15
x: 17
x: 19
printing with conditions
Even
1
Even
3
Even
5
Even
Lucky
Even
9