Skip to content
Advertisement

why am I getting this TypeError: () got an unexpected keyword argument error?

I was trying to add tkinter graphics to a small part of my code for some reason and want the output(calculated sum) on window.How did I make this code working please help!

my code:

JavaScript

getting error:

JavaScript

Advertisement

Answer

I think you can use Simple_Interest=principal * (interest_rate / 100) * time at line 22.
And you should use the “if” statement in line 17-19

JavaScript

It was worked!

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement