Python:how random numbers are assigned to a list of arrary : List[]
For i in range(6)
  Num=random.randit(1,6)
  List.append(num)
  Print(list)

Is giving output in pattern:
[2]
[4 ,6]
ETC.
but i want output in a single list.like
[5,5,3,5,2,1]


