function that takes range in python code example Example 1: in range python for i in range(x) : #code Example 2: in range python for i in range(x) #[0;x[