From b202f89da0287cd2c3b5af20ba875a35c370f212 Mon Sep 17 00:00:00 2001 From: arunabh15091989 Date: Thu, 15 Jun 2017 09:56:58 +0000 Subject: [PATCH] Done --- .results.json | 1 + practice.py | 17 +++++++++++++++++ tests/__init__.pyc | Bin 0 -> 164 bytes tests/test_solution.pyc | Bin 0 -> 699 bytes 4 files changed, 18 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..9a123f5 --- /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.799003601074219e-05}]} \ No newline at end of file diff --git a/practice.py b/practice.py index e69de29..fba8959 100644 --- a/practice.py +++ b/practice.py @@ -0,0 +1,17 @@ +l = [] +l = range(2,101,2) +print l + +#find all fibonacci sequence up to 10 +l1 = [] +a = 0 +b = 1 +l1.append(a) +l1.append(b) +for i in range(10): + c = a+b + l1.append(c) + a = b + b = c + +print l1 diff --git a/tests/__init__.pyc b/tests/__init__.pyc new file mode 100644 index 0000000000000000000000000000000000000000..706c505ca2e765a7c64fba11349be7e947ead52c GIT binary patch literal 164 zcmZSn%*(~k>=>EM00oRd+5w1*S%5?e14FO|NW@PANHCxg#lAo>{fzwFRQ<%F(!9i^ z3`0``OG8TwOa1WtqU_>=#N<@{E{Ob$3&CvIoIi{bN5sXR@XJ z0u7l-Ci9s0^5XA7{~~@~;M+a2uu&M zeG53NMd&7V=4Tl7d{JLk)!m)-eraR@7@q%Kx4Ue zcx1njMT1D#^Wd0LwXUpEp2aFvIn$O@rmXX*@h^p@Y;~}OwVjIDQCwRWp1;5jLBRcw Qq~Od$=fxw-3$|UxzqJ^o-T(jq literal 0 HcmV?d00001