I have a beginners problem I really need some help with.
First of all, here is my current program:
def texten(): filehandle=open ( 'savetonight.txt', 'r' ) text=filehandle.read() return text def smabokstavertext(): texten() print text.lower()
I basically want my function smabokstavertext() to call the first function texten() and then print the text in lower case letters but the problem is that my function smabokstaver dosen't understand what "text" is from the first function. I thought "return text" would fix it but it didn't.
It's a real rookie-problem I know but i could really use some help.