Encapsulation Code In Python To Find