Challenge!For beginners! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Challenge!For beginners!

Print 1 to 100 Fibonacci numbers! Specially in c related languages!

30th Oct 2017, 1:58 PM
[No Name]
3 Answers
+ 5
def fibo(n): if n in [0,1]:return 1 else:return fibo(n-1) for i in range(100):print(fibo(i)) #Not beginner, but good Python solution
30th Oct 2017, 2:03 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
30th Oct 2017, 2:13 PM
Anil
Anil - avatar
31st Oct 2017, 1:09 AM
Anil
Anil - avatar