Update abscd.py

Added a variable n