Skip to content

Instantly share code, notes, and snippets.

@rochacbruno
Created March 9, 2021 00:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rochacbruno/bd974a80dc908add3e57c64fd91e13cc to your computer and use it in GitHub Desktop.
Save rochacbruno/bd974a80dc908add3e57c64fd91e13cc to your computer and use it in GitHub Desktop.
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