class Jedi:
def __init__(self, name):
self.jedi_name = name
def say_hi(self):
print('Hello, my name is ', self.jedi_name)
j1 = Jedi('ObiWan')
j1.say_hi()
how can i make the say_hi take input , or take the name itself ? and why can’t I use name with it instead of self.jedi_name since self.jedi_name= name and they are both in the same class ?