fork download
  1. import math
  2. r=5
  3. for i in range(r*2):
  4. print(int(r*math.cos(i))*' '+'~')
Success #stdin #stdout 0.01s 8968KB
stdin
Standard input is empty
stdout
     ~
  ~
~
~
~
 ~
    ~
   ~
~
~