Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Fibonacci to the Nth number
def fib(n): '''returns the fibonacci sequence to the Nth number; Author: Wazim Karim''' result=[1,1] for i in range(0,n): result.append(result[i]+result[i+1]) return result print(fib(30))
run
|
edit
|
history
|
help
0
Lesson 3 HW-Final
Converion of dictionary to list of tuples (Stackoverflow problem)
(P3) Ciągi 1
Lesson 6 part 3
Insertion Sort
Prac
Ej2_python_204676887
thermal_containers
calucation
PySort