Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import sqrt;first=[]
- for z, x in enumerate(map(lambda x: x/1000.000,range(-1000,1000))):
- i=(int(round(z/100.0)),int(round((sqrt(abs(x))-sqrt(1-x**2))*10)))
- # i=map(lambda i: i/2,i)
- if i not in first:first.append(i)
- for z, x in enumerate(map(lambda x: x/1000.000,range(-1000,1000))):
- i=(int(round(z/100.0)),int(round((sqrt(abs(x))+sqrt(1-x**2))*10)))
- # i=map(lambda i: i/2,i)
- if i not in first:first.append(i)
- array=[["-" for item in xrange(101)]for item in xrange(401)]
- for item in first:array[item[1]][item[0]]="#"
- array=array[200:]+array[:200]
- for item in array[::-1]:
- if "#" in item:
- print ''.join(item[:23])
Add Comment
Please, Sign In to add comment