Contact: aviboots(AT)netvision.net.il
39,878 questions
51,803 answers
573 users
import numpy as np lst = range(7) print(*lst) N = 4 lst = np.power(lst, N) print(lst) ''' run: 0 1 2 3 4 5 6 [ 0 1 16 81 256 625 1296] '''