self.name #1405
Muaytie666
started this conversation in
Show and tell
self.name
#1405
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
class Person:
def init(self, name: str):
self.name = name
def get_person_name(one_person: Person):
return one_person.name
Beta Was this translation helpful? Give feedback.
All reactions