This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
class Fig(object): | |
position = [] | |
def __init__(self): | |
self.cur_position = ('a', 1) | |
def get_position(self): | |
return random.choice(self.position) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from calc import Calculator, UnknownOperation, UnknownError | |
INPUT_FILENAME = "input.txt" | |
OUTPUT_FILENAME = "output.txt" | |
def get_data(): |