Find the error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
30th Sep 2020, 4:11 AM
Knowledge Pedia
Knowledge Pedia - avatar
3 Answers
+ 3
I think the way you call functions is wrong. The second part of your code should look like this: n=int(input("Enter your choice")) if n==1: add() elif n==2: subtract() elif n==3: multiply() elif n==4: devide() elif n==5: percent() elif n==6: exit() else: print("Enter valid choice") menu() menu()
30th Sep 2020, 4:40 AM
Paul
Paul - avatar
+ 1
Paul Thanks but it's not working yet
30th Sep 2020, 5:17 AM
Knowledge Pedia
Knowledge Pedia - avatar
0
Do share your update code...! Knowledge Pedia
30th Sep 2020, 11:59 AM
Jayakrishna 🇮🇳