Guest User

Untitled

a guest
Dec 19th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. import numpy as np
  2. lista = [1, 34, 5, 7, 873, 555, 13]
  3. nowa_lista = np.array(lista)
  4. print(np.sort(nowa_lista**2)
  5. print(np.sort(nowa_lista**2)[::-1])
Add Comment
Please, Sign In to add comment