N
N
Nikolai Sidorenko2015-01-02 22:02:21
Python
Nikolai Sidorenko, 2015-01-02 22:02:21

Why can't I add a list to an array?

Happy New Year!
I find the angle between vectors clockwise.
coords =
a = coords[1::1].append(coords[0])

Why doesn't a output anything?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2015-01-02
@NSidorov

In variable a you put what append returns. And he returns, according to the manual - nothing. Here in a there is nothing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question