@anonymous/

GracefulRottenDrake

Python

No description

fork
loading
Files
  • main.py

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.14445698948350505","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"Zj1sYW1iZGEgbjpzdW0oLX5uJS1+aTwxZm9yIGkgaW4gcmFuZ2UobikpLTFhbmQgZihuKzEpb3Itfm4KCmZvciBuIGluICgtMTAwLCAtNCwgMCwgMiwgMywgMTEyLCAxMTMsIDExNCwgMTI2LCAxMjcpOgogIHByaW50KG4sIGYobikp"},"asBuffer":null},"loaded":true}}
1
2
3
4
f=lambda n:sum(-~n%-~i<1for i in range(n))-1and f(n+1)or-~n

for n in (-100, -4, 0, 2, 3, 112, 113, 114, 126, 127):
  print(n, f(n))