Skip to content

Instantly share code, notes, and snippets.

View mkb2091's full-sized avatar

Alex Williams mkb2091

View GitHub Profile
import re, sys
while 1:print('Result:', sum(map(int, [re.sub('\s', '', i) for i in re.findall('(?:^[0-9]+)|(?:[\+\-]\s*[0-9]+)', input('Calc>>>'))])))

Keybase proof

I hereby claim:

  • I am mkb2091 on github.
  • I am rasppitor (https://keybase.io/rasppitor) on keybase.
  • I have a public key ASCPDX2d4WuUuMcmyu1z2aTg4w9-Yo13x7lThRKuWxch7Ao

To claim this, I am signing this object: