From 616bba2eed925a8355c2f54c72478e260b76b980 Mon Sep 17 00:00:00 2001 From: Josh Spangler Date: Tue, 1 Oct 2019 16:18:27 -0400 Subject: [PATCH 1/3] added something --- hello.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hello.py b/hello.py index 72647ca..b59b962 100755 --- a/hello.py +++ b/hello.py @@ -5,6 +5,7 @@ def helloworld(): def add_numbers(x, y): pass + x += y if __name__ == '__main__': # do something! From 6378b6b6b80044e679b7ae82e05bcc6f357fa1a0 Mon Sep 17 00:00:00 2001 From: Josh Spangler Date: Tue, 1 Oct 2019 16:19:49 -0400 Subject: [PATCH 2/3] did the same thing but right this time. --- hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello.py b/hello.py index b59b962..1bcc929 100755 --- a/hello.py +++ b/hello.py @@ -5,7 +5,7 @@ def helloworld(): def add_numbers(x, y): pass - x += y + return x + y if __name__ == '__main__': # do something! From 75f90ffb468dc9f35d80270f3919a34fa0608612 Mon Sep 17 00:00:00 2001 From: Jonathan Bryan Date: Tue, 1 Oct 2019 16:33:54 -0400 Subject: [PATCH 3/3] Function print --- hello.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hello.py b/hello.py index 1bcc929..67d0e91 100755 --- a/hello.py +++ b/hello.py @@ -7,6 +7,9 @@ def add_numbers(x, y): pass return x + y +def print_stuff(): + print("stuff") + if __name__ == '__main__': # do something! pass