Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 635 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 635 Bytes

Design_pattern_py

  • Exercise for design pattern with Python
  • Basically contents is from Link
  • Code is originally written with Java. I rewrite with Python

Usege

# Open with VSCode devcontainer
$ cd ./{design_pattern_name}/
$ python main.py
# See the output.

Used abstractmethod to express interface object.

from abc import ABCMeta, abstractmethod