@anonymous/

CarelessSeashellMoa

Python 2.7

No description

fork
loading
Files
  • main.py

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.8415599253464714","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"IyBodHRwczovL2NvZGVnb2xmLnN0YWNrZXhjaGFuZ2UuY29tL2EvMTIyNTU3LzM0NzE4DQoNCmltcG9ydCB0aW1lLHJhbmRvbQ0KZz0nICcrJ18nKjI0K3IiIiINCnx4eFgvX19cWHh4fA0KfHhYLyAgICBcWHh8DQp8WC8gICAgICBcWHwNClxfX19fX19fLyAgICAgICAgXF9fX19fX18vIiIiLnJlcGxhY2UoJ1gnLCd4Jyo4KQ0Kd2hpbGUgMToNCiBwcmludCdcbicqMzArZy5yZXBsYWNlKCd4JywnICcpDQogcz0neC5vT0BAJw0KIGlmIGFsbChjIG5vdCBpbiBnIGZvciBjIGluIHNbOi0yXSk6ZXhpdCgpDQogaSxjPXJhbmRvbS5jaG9pY2UoWyhpLHNbcy5pbmRleChqKSsxXSlmb3IgaSxqIGluIGVudW1lcmF0ZShnKWlmIGogaW4gc10pDQogZz1nWzppXStjK2dbaSsxOl0NCiB0aW1lLnNsZWVwKDEp"},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# https://codegolf.stackexchange.com/a/122557/34718

import time,random
g=' '+'_'*24+r"""
|xxX/__\Xxx|
|xX/    \Xx|
|X/      \X|
\_______/        \_______/""".replace('X','x'*8)
while 1:
 print'\n'*30+g.replace('x',' ')
 s='[email protected]@'
 if all(c not in g for c in s[:-2]):exit()
 i,c=random.choice([(i,s[s.index(j)+1])for i,j in enumerate(g)if j in s])
 g=g[:i]+c+g[i+1:]
 time.sleep(1)