NameError: name 'process_or_store' is not defined, python

I tried to execute this code and i get this error message : "NameError: name 'process_or_store' is not defined,", i tried all related solution here and nothing worked. please help me

import tweepy
import json
import nltk

from tweepy import Stream
from tweepy import OAuthHandler
from tweepy.streaming import StreamListener



consumer_key = 'key'
consumer_secret = 'secret'
access_token = '-token'
access_secret = 'secret'

auth = OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_secret)

api = tweepy.API(auth)

for status in tweepy.Cursor(api.home_timeline).items(10):
    # Process a single status
     process_or_store(status.json)


ANSWERS:


As mentioned by R Nar, the process_or_store method has not been defined. You can read more about how to do that here.

As explained by the author:

The function process_or_store() is a place-holder for your custom implementation.



 MORE:


 ? name 'session' is not defined for Tweepy
 ? Name Error - name api is not defined
 ? Check if a user is following me using Tweepy
 ? In depth Twitter Search API in tweepy
 ? TypeError: tuple indices must be integers or slices, not str Python sentiment tweet
 ? Tweepy Look up ID with username
 ? download tweets of a specific language only
 ? Is there a way to jump pages with a tweepy cursor?
 ? Syntax error authenticating tweepy
 ? Tweepy Location Filter Does Not Work