Created
March 9, 2021 00:45
-
-
Save rochacbruno/bd974a80dc908add3e57c64fd91e13cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys; | |
class Person: # { | |
name = "Anthony"; | |
def say_hello(self): # { | |
return f"Hello, {self.name}"; | |
# }; | |
# }; | |
def main(p: Person): # { | |
sys.stdout.write(p.say_hello()); | |
# }; | |
main(Person()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment