Create discrete.py