first python code to animate