Skip to content

Instantly share code, notes, and snippets.

View AndreyeuIvan's full-sized avatar
🎯
Focusing

Ivan Andreyeu AndreyeuIvan

🎯
Focusing
  • LTI
  • Warszaw
View GitHub Profile
import random
class Fig(object):
position = []
def __init__(self):
self.cur_position = ('a', 1)
def get_position(self):
return random.choice(self.position)
@AndreyeuIvan
AndreyeuIvan / File_from
Last active December 21, 2019 10:25
Calculator
from calc import Calculator, UnknownOperation, UnknownError
INPUT_FILENAME = "input.txt"
OUTPUT_FILENAME = "output.txt"
def get_data():