NumLst = [2, 5, 1, 7, 3, 6 ,8, 9]
SqlLst = NumLst*2
The above code will not work as desired. It will concatenate two NumLst and contain [2, 5, 1, 7, 3, 6 ,8, 9, 2, 5, 1, 7, 3, 6 ,8, 9]
To achieve the purpose we can do
NumLst = [2, 5, 1, 7, 3, 6 ,8, 9]
SqlLst = [2*i for i in NumLst]