Super-Saper/src/mine.py
2021-05-18 00:01:19 +02:00

8 lines
165 B
Python

from typing import Union
class Mine:
def __init__(self, pressure: Union[float, int], armed: bool):
self.armed = armed
self.pressure = pressure