make a list from 0 to n python -m code example Example: make a list from 0 to n python a_list = list(range(0, n))