programming-examples/python/Math/Create a dot string.py

4 lines
126 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
from math import sin, cos, radians
import sys
for i in range(1000):
print(' '*int(10*cos(radians(i))+10) + '.')