Skip to content

Instantly share code, notes, and snippets.

View TotallyNotSethP's full-sized avatar

TotallyNotSeth TotallyNotSethP

  • California
  • 04:37 (UTC -07:00)
View GitHub Profile
@TotallyNotSethP
TotallyNotSethP / main.py
Last active February 10, 2021 17:48
+-=*/@%#()< Interpreter
import keyboard
class Accumulator:
def __init__(self, initial_value=0):
self.accumulator = initial_value
def increment(self, number=1):
self.accumulator += number
return self.accumulator