Beginner. 2d rotation gives unexpected results.

Terry Reedy tjreedy at
Thu Jul 25 01:55:39 CEST 2013

On 7/24/2013 5:17 PM, Joshua Landau wrote:

>     import math as m
> GAH!
> Why on earth would you do such a thing?

for the same reason people do 'import tkinter as tk': to minimize typing 
and maximize clarity. In this case,
   from math import sin, cos, radians
also works well

Terry Jan Reedy

More information about the Python-list mailing list