SyntaxFix
Write A Post
Hire A Developer
Questions
using numpy :
In [1]: import numpy as np In [2]: nums = np.array([1,2,3])*2 In [3]: nums.tolist() Out[4]: [2, 4, 6]