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