Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = [-70, 11, -111, 85, 33, 59, 0]
- x_res = []
- n = 6
- for x_cor in x:
- x_temp = []
- for i in range(n):
- x_temp.append(round(x_cor * (i + 1)/n, 2))
- x_res.append(x_temp)
- print(x_res)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement