Decision Making Process In Python