Method Versus Function Python Example Test Of Parts