I'm making a login program for fun, and I was wondering how do you access functions in one class/def in another class/def? Sorry if I sound dumb I'm quite the noob in Python!
Example:
class Main()
def LOL:
A = 'apples'
and I want function A to be applied here:
def banana:
B = 'banana'
print(B + A)
Sorry if its quite a random code example but I couldn't really think of anything else!