Checking in basic python example code