diff --git a/kjg/python-the-hard-way/e3.py b/kjg/python-the-hard-way/e3.py index e7067be..f7e9ac9 100644 --- a/kjg/python-the-hard-way/e3.py +++ b/kjg/python-the-hard-way/e3.py @@ -5,11 +5,11 @@ print("Roosters", 100 - 25 * 3 % 4 ) print("Now I will count the eggs : ") -print(3 + 2 + 1 - 5 + 4 % 2 -1 / 4 + 6) +print(3 + 2 + 1 - 5 + 4 % 2 - 1 / 4 + 6) print("Is it true that 3 + 2 < 5 - 7?") -print(3 + 2 < 5 -7 ) +print(3 + 2 < 5 - 7 ) print("What is 3 + 2?", 3 + 2) print("What is 5 - 7?", 5 - 7) diff --git a/kjg/python-the-hard-way/new_file2.txt b/kjg/python-the-hard-way/new_file2.txt new file mode 100644 index 0000000..996a043 --- /dev/null +++ b/kjg/python-the-hard-way/new_file2.txt @@ -0,0 +1,3 @@ +test line1 +test line2 +test line3 diff --git a/kjg/python-the-hard-way/test.txt b/kjg/python-the-hard-way/test.txt index e97bf0c..996a043 100644 --- a/kjg/python-the-hard-way/test.txt +++ b/kjg/python-the-hard-way/test.txt @@ -1,3 +1,3 @@ -This is line 1 -This is line 2 -This is line 3 +test line1 +test line2 +test line3 diff --git a/kjg/python.org b/kjg/python.org index 48b693d..0656a8c 100644 --- a/kjg/python.org +++ b/kjg/python.org @@ -96,3 +96,5 @@ How to use function and variables How to use function with file **** ex21 How to use fucntion with return +**** ex22 +repeat from ex2 to ex21