Skip to content

Commit 7335143

Browse files
committedApr 18, 2023
Update.
1 parent fb3d936 commit 7335143

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎[4] Functions/[2] Functions - More exercises/03_tribonacci_sequence.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
def tribonacci(num):
2+
last_three = [1, 1]
23
for number in range(1, num + 1):
34

45
if number == 1 or number == 2:
@@ -16,7 +17,5 @@ def tribonacci(num):
1617

1718

1819
starting_number = int(input())
19-
last_three = [1, 1]
20-
2120

2221
tribonacci(starting_number)

0 commit comments

Comments
 (0)