From fb7e3169f15bb53e7e002685c8d1761165f1f6d5 Mon Sep 17 00:00:00 2001 From: madalawok Date: Sat, 10 Oct 2020 12:27:07 +0200 Subject: [PATCH 1/8] Update hello.py --- hello.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hello.py b/hello.py index d4fb0b0..ca45bdc 100644 --- a/hello.py +++ b/hello.py @@ -11,6 +11,7 @@ def say_what(): def main(): + print("Hello World") hello(say_what()) return 0 From 7feac443a241c656562152c75f9f656edd2d0fff Mon Sep 17 00:00:00 2001 From: madalawok Date: Sat, 10 Oct 2020 12:27:23 +0200 Subject: [PATCH 2/8] add print add print From 3d13a103bbb3d5c2257c4feeb6f12f9d4e086f50 Mon Sep 17 00:00:00 2001 From: madalawok Date: Sat, 10 Oct 2020 12:36:05 +0200 Subject: [PATCH 3/8] Update hello.py --- hello.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hello.py b/hello.py index ca45bdc..c5422f1 100644 --- a/hello.py +++ b/hello.py @@ -12,6 +12,7 @@ def say_what(): def main(): print("Hello World") + prinSSSt("Hello World") hello(say_what()) return 0 From ee84532a9930f2add1c128dbaa8139229af01565 Mon Sep 17 00:00:00 2001 From: madalawok Date: Sat, 10 Oct 2020 12:41:54 +0200 Subject: [PATCH 4/8] Update hello.py --- hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello.py b/hello.py index ca45bdc..6f8f3c3 100644 --- a/hello.py +++ b/hello.py @@ -7,7 +7,7 @@ def hello(what): def say_what(): - return 'world' + return 'worlddddddddddd' def main(): From e1608f7d04e02477e2464aa497ab2b9082032001 Mon Sep 17 00:00:00 2001 From: madalawok Date: Sat, 10 Oct 2020 12:47:03 +0200 Subject: [PATCH 5/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dce752e..4c72cad 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# python-example \ No newline at end of file +[![Build Status](https://travis-ci.org/madalawok/python-example.svg?branch=master)](https://travis-ci.org/madalawok/python-example) From 324c6c4c889bd41e9375830b1c0d9147705cf596 Mon Sep 17 00:00:00 2001 From: madalawok Date: Sat, 10 Oct 2020 13:45:10 +0200 Subject: [PATCH 6/8] Update test_hello.py --- tests/test_hello.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_hello.py b/tests/test_hello.py index a9ecb71..c7a9f3a 100644 --- a/tests/test_hello.py +++ b/tests/test_hello.py @@ -3,3 +3,6 @@ def test_says_world(): assert hello.say_what() == 'world' + +def test_says_world2(): + assert hello.say_what() == 'world2' From 2d7db81377d887693dc7a10fc9a2caa5ede90d7a Mon Sep 17 00:00:00 2001 From: madalawok Date: Sat, 10 Oct 2020 13:46:26 +0200 Subject: [PATCH 7/8] Update test_hello.py --- tests/test_hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_hello.py b/tests/test_hello.py index c7a9f3a..60d2db2 100644 --- a/tests/test_hello.py +++ b/tests/test_hello.py @@ -5,4 +5,4 @@ def test_says_world(): assert hello.say_what() == 'world' def test_says_world2(): - assert hello.say_what() == 'world2' + assert hello.say_what2() == 'world2' From 2bb185c06777e3ba660f9559c21e3c9edb3ccd76 Mon Sep 17 00:00:00 2001 From: madalawok Date: Sat, 10 Oct 2020 13:47:56 +0200 Subject: [PATCH 8/8] Update hello.py --- hello.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hello.py b/hello.py index fcc0b1b..90fcf45 100644 --- a/hello.py +++ b/hello.py @@ -7,15 +7,18 @@ def hello(what): def say_what(): - return 'worlddddddddddd' + return 'world' + +def say_what2(): + return 'world2' def main(): print("Hello World") - prinSSSt("Hello World") hello(say_what()) + print("Hello World2") + hello(say_what2()) return 0 - if __name__ == '__main__': sys.exit(main())