From 1a77a437b2dd9df0408edcb62d9196651227edc9 Mon Sep 17 00:00:00 2001 From: Bicky23 Date: Thu, 15 Jun 2017 09:54:13 +0000 Subject: [PATCH 1/4] Done --- .results.json | 1 + practice.py | 5 +++++ tests/__init__.pyc | Bin 0 -> 156 bytes tests/test_solution.pyc | Bin 0 -> 675 bytes 4 files changed, 6 insertions(+) create mode 100644 .results.json create mode 100644 tests/__init__.pyc create mode 100644 tests/test_solution.pyc diff --git a/.results.json b/.results.json new file mode 100644 index 0000000..a6866b8 --- /dev/null +++ b/.results.json @@ -0,0 +1 @@ +{"stats": {"passes": 1, "skipped": 0, "encoding": "UTF-8", "errors": 0, "failures": 0, "total": 1}, "results": [{"classname": "tests.test_solution:TestSolution", "type": "success", "name": "test_solution", "time": 9.202957153320312e-05}]} \ No newline at end of file diff --git a/practice.py b/practice.py index e69de29..e7800bd 100644 --- a/practice.py +++ b/practice.py @@ -0,0 +1,5 @@ +for x in range(101): + if x%2 == 0: + print x + else: + pass diff --git a/tests/__init__.pyc b/tests/__init__.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7fe887ca15c7b72525a0735a1c6e22d5ccd16d99 GIT binary patch literal 156 zcmZSn%*(~a;TW0B00oRd+5w1*S%5?e14FO|NW@PANHCxg#jZdx{fzwFRDGw+=#N<@{W5g>E`M!;5p4&evj2(aD+phu9! zR|GHqXvKnVZcJ%q&@FN_?q(=5TXwFn^@)t3a|*npWPmw{k|xvCH1m@bV>kke1%=0c z1AKXHM^**I&+Vn}G3`_lFHV~r(db@LL;x;Zw`x1nzm0gFDYr45;1j;nE!o-1B=bV; z506jDhi&)RS>E33Pb%9Qn;wOvAB%GP=tSktvwo<((a;aGY~4e+?jO7TuS_kVw3 JS>C4G@E@g|o+ Date: Thu, 15 Jun 2017 10:03:23 +0000 Subject: [PATCH 2/4] Done --- .results.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.results.json b/.results.json index a6866b8..9a123f5 100644 --- a/.results.json +++ b/.results.json @@ -1 +1 @@ -{"stats": {"passes": 1, "skipped": 0, "encoding": "UTF-8", "errors": 0, "failures": 0, "total": 1}, "results": [{"classname": "tests.test_solution:TestSolution", "type": "success", "name": "test_solution", "time": 9.202957153320312e-05}]} \ No newline at end of file +{"stats": {"passes": 1, "skipped": 0, "encoding": "UTF-8", "errors": 0, "failures": 0, "total": 1}, "results": [{"classname": "tests.test_solution:TestSolution", "type": "success", "name": "test_solution", "time": 9.799003601074219e-05}]} \ No newline at end of file From 6efc4b9d57b475aa40e8267a3aebda75f66f49b0 Mon Sep 17 00:00:00 2001 From: Bicky23 Date: Thu, 15 Jun 2017 10:09:13 +0000 Subject: [PATCH 3/4] Done --- .results.json | 2 +- practice.py | 14 +++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.results.json b/.results.json index 9a123f5..dd4bd0e 100644 --- a/.results.json +++ b/.results.json @@ -1 +1 @@ -{"stats": {"passes": 1, "skipped": 0, "encoding": "UTF-8", "errors": 0, "failures": 0, "total": 1}, "results": [{"classname": "tests.test_solution:TestSolution", "type": "success", "name": "test_solution", "time": 9.799003601074219e-05}]} \ No newline at end of file +{"stats": {"passes": 1, "skipped": 0, "encoding": "UTF-8", "errors": 0, "failures": 0, "total": 1}, "results": [{"classname": "tests.test_solution:TestSolution", "type": "success", "name": "test_solution", "time": 9.989738464355469e-05}]} \ No newline at end of file diff --git a/practice.py b/practice.py index e7800bd..b7ba1cd 100644 --- a/practice.py +++ b/practice.py @@ -1,5 +1,9 @@ -for x in range(101): - if x%2 == 0: - print x - else: - pass +num1 = 0 +num2 = 1 +list1 = [num1, num2] +for i in range(10): + num3 = num1 + num2 + list1.append(num3) + num1 = num2 + num2 = num3 +print list1 From 4e33da310df6c9638fbc879c0104f46f32210cf5 Mon Sep 17 00:00:00 2001 From: Bicky23 Date: Thu, 15 Jun 2017 10:10:26 +0000 Subject: [PATCH 4/4] Done --- .results.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.results.json b/.results.json index dd4bd0e..c996012 100644 --- a/.results.json +++ b/.results.json @@ -1 +1 @@ -{"stats": {"passes": 1, "skipped": 0, "encoding": "UTF-8", "errors": 0, "failures": 0, "total": 1}, "results": [{"classname": "tests.test_solution:TestSolution", "type": "success", "name": "test_solution", "time": 9.989738464355469e-05}]} \ No newline at end of file +{"stats": {"passes": 1, "skipped": 0, "encoding": "UTF-8", "errors": 0, "failures": 0, "total": 1}, "results": [{"classname": "tests.test_solution:TestSolution", "type": "success", "name": "test_solution", "time": 8.606910705566406e-05}]} \ No newline at end of file