Can someone pls explain this with steps | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Can someone pls explain this with steps

# Python 3: Fibonacci series up to n >>> def fib(n): >>> a, b = 0, 1 >>> while a < n: >>> print(a, end=' ') >>> a, b = b, a+b >>> print() >>> fib(100)

15th Aug 2021, 12:18 PM
Amol Bhandekar
Amol Bhandekar - avatar
1 Réponse
+ 3
Please end your Python tutorial first then you will see how it works.
15th Aug 2021, 12:21 PM
JaScript
JaScript - avatar