• API
• FAQ
• Tools
• Trends
• Archive
daily pastebin goal
13%
SHARE
TWEET

# Untitled

a guest May 19th, 2017 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1. from math import sqrt
2. first=[]
3. for z, x in enumerate(map(lambda x: x/1000.000,range(-1000,1000))):
4.     i=(int(round(z/100.0)),int(round((sqrt(abs(x))+sqrt(1-x**2))*10)))
5.     if i not in first:first.append(i)
6. for z, x in enumerate(map(lambda x: x/1000.000,range(-1000,1000))):
7.     i=(int(round(z/100.0)),int(round((sqrt(abs(x))-sqrt(1-x**2))*10)))
8.     if i not in first:first.append(i)
9. array=[[" " for item in xrange(201)]for item in xrange(401)]
10. for item in first:array[item[1]][item[0]]="#"
11. array=array[200:]+array[:200]
12. for item in array[::-1]:
13.     if "#" in ''.join(item):print ''.join(item)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

Top