new file:   7-segment.py