@anonymous/

RectangularKnowledgeableEnglishpointer

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.993540279471472","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"aW1wb3J0IHByaW1lZmFjIGFzIHAKZj1wLm5leHRwcmltZQoKZm9yIG4gaW4gKC0xMDAsIC0zLjUsIDAsIDIsIDMsIDIxNDc0ODM2NDcsIDIqKjY0LCAyKioyMDAwKToKICBwcmludChuLCBmKG4pKQ=="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
import primefac as p
f=p.nextprime

for n in (-100, -3.5, 0, 2, 3, 2147483647, 2**64, 2**2000):
  print(n, f(n))