I have a function which receives one function argument and that function argument also receives one argument but I don't know how to pass this argument to argument function in python. Here is the sample code:
def pr(text):
print(text)
def frun(func):
func()
frun(pr)
The question is how can I pass text argument in frun(pr)?
And please consider about using keyword arguments too.