From f289241d3ead0b037ae44e4446d1dd9bb8125a62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B3=D0=BE=D1=80=D1=8C?= <30924435+igor-pgmt@users.noreply.github.com> Date: Sun, 22 Apr 2018 02:47:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BE=D1=82=20=D0=BB=D0=B8=D1=88=D0=BD?= =?UTF-8?q?=D0=B5=D0=B3=D0=BE=20=D0=BA=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...20\275\320\260\321\207\321\207\320\270 Fibonacci numbers.py" | 2 -- 1 file changed, 2 deletions(-) diff --git "a/\320\247\320\270\321\201\320\273\320\260 \320\244\320\270\320\261\320\276\320\275\320\260\321\207\321\207\320\270 Fibonacci numbers.py" "b/\320\247\320\270\321\201\320\273\320\260 \320\244\320\270\320\261\320\276\320\275\320\260\321\207\321\207\320\270 Fibonacci numbers.py" index 412fa8b..aeef18f 100644 --- "a/\320\247\320\270\321\201\320\273\320\260 \320\244\320\270\320\261\320\276\320\275\320\260\321\207\321\207\320\270 Fibonacci numbers.py" +++ "b/\320\247\320\270\321\201\320\273\320\260 \320\244\320\270\320\261\320\276\320\275\320\260\321\207\321\207\320\270 Fibonacci numbers.py" @@ -6,8 +6,6 @@ def fin(n): if n == 1 or n == 2: return 1 - elif n == 3: - return 2 else: return fin(n - 1) + fin(n -2) print(fin(int(input())))