0

[Solved] Why is the function variable not able to be called?

Why can't 'sentence' call the 'adjective_1' from 'adjective'? Is it because it's not in the same function? Or do I need to include something to tell it to look in that function? I feel like I'm so close to figuring out, please help. https://code.sololearn.com/cKcw6W9VwMP1/?ref=app

20th Oct 2020, 6:24 PM
Kelly H. Milligan
Kelly H. Milligan - avatar
4 ответов
0
NotAPythonNinja, do you mean one of these? self.adjective() self.adjective(self) adjective(self)
20th Oct 2020, 6:53 PM
Kelly H. Milligan
Kelly H. Milligan - avatar
0
There's an AttributeError now.
20th Oct 2020, 7:04 PM
Kelly H. Milligan
Kelly H. Milligan - avatar
0
20th Oct 2020, 8:34 PM
Kelly H. Milligan
Kelly H. Milligan - avatar