@anonymous/

PlumPotableWhiterhino

Python

No description

fork
loading
Files
  • main.py

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.9171815502416982","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"ZiA9IGxhbWJkYSBhOlsoeCx5KWZvciBpLHggaW4gZW51bWVyYXRlKGEpZm9yIHkgaW4gYVs6aV1dDQoNCnByaW50KGYoWydhJywgJ2InXSkpDQpwcmludChmKFsnYScsICdiJywgJ2MnXSkpDQpwcmludChmKFsnYScsICdiJywgJ2MnLCAnZCcsICdlJ10pKQ=="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
f = lambda a:[(x,y)for i,x in enumerate(a)for y in a[:i]]

print(f(['a', 'b']))
print(f(['a', 'b', 'c']))
print(f(['a', 'b', 'c', 'd', 'e']))