SyntaxFix
Write A Post
Hire A Developer
Questions
Take a look at http://vpython.org/contents/docs/visual/VisualIntro.html.
It provides a vector class which has a method A.rotate(theta,B). It also provides a helper function rotate(A,theta,B) if you don't want to call the method on A.
vector
A.rotate(theta,B)
rotate(A,theta,B)
A
http://vpython.org/contents/docs/visual/vector.html