I seek advice on a matter relating to this function.
I have tried various editing and indentation on the code, but it is showing the same result.
It shows NameError: name 'sentence' is not defined
although I have defined it in the function.
The code is:
def about (name, age, likes):
sentence = "Meet {}, he is {} years old and likes {}".format(name,age,likes)
return sentence
about ("Jack", 23, "programming")
print (sentence)