num = int(input()) def fibonacci(n): if n==1: return 0 elif n==2: return 1 else: return fibonacci (n-1) + fibonacci ( | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

num = int(input()) def fibonacci(n): if n==1: return 0 elif n==2: return 1 else: return fibonacci (n-1) + fibonacci (

This is my code why it's not run

23rd Dec 2020, 1:07 PM
ARNAV SINGH
ARNAV SINGH - avatar
7 Answers
0
ARNAV SINGH , link your code to the Playground and provide it in the question, so somebody can help you. You paste is as text and obviously it's only a part.
23rd Dec 2020, 1:26 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
TheWh¡teCat 🇧🇬 could you please tell me how can i link this?
23rd Dec 2020, 1:30 PM
ARNAV SINGH
ARNAV SINGH - avatar
0
ARNAV SINGH , from your profile - > code bits -> button "+" - >select language -> Python -> paste your code -> save it. Then add it here in your question.
23rd Dec 2020, 1:35 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
23rd Dec 2020, 1:38 PM
ARNAV SINGH
ARNAV SINGH - avatar
0
Usman Muhammed I'd check but i did not find?
23rd Dec 2020, 1:46 PM
ARNAV SINGH
ARNAV SINGH - avatar
23rd Dec 2020, 3:41 PM
JaScript
JaScript - avatar
0
because of your open parenthasis
24th Dec 2020, 1:49 AM
Avalon