+ 1
Find the error
https://webknowledgepedia.wordpress.com/ Please find the error in this codeš https://code.sololearn.com/c3V20HOXXLuG/?ref=app
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()
+ 1
Paul Thanks but it's not working yet
0
Do share your update code...! Knowledge Pedia