generate a list of numbers upto n code example
Example 1: generate a list of numbers upto n
x=list(rang(1,5))
Example 2: generate a list of numbers upto n
a_list = list(range(1, 5))
x=list(rang(1,5))
a_list = list(range(1, 5))