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 0000000..706c505 Binary files /dev/null and b/tests/__init__.pyc differ diff --git a/tests/test_solution.pyc b/tests/test_solution.pyc new file mode 100644 index 0000000..7301849 Binary files /dev/null and b/tests/test_solution.pyc differ