I have a function with a string as an argument that returns two lists
e.g.
def return_words(string):
return list1, list2
Obviously there's code in between. I want to be able to time this function accurately for various strings as I need to improve efficiency when long strings are inputted.
Sorry if this is a trivial question as I am new to python.
Thanks