Consider the following:
def func_a(param1,param2):
print (param1 + param2)
func_a("a")
func_a expects two parameters, whereas it is called with only one.
In other languages this kind of error is discovered while coding or compiling.
Is it possible to find this Python coding error before runtime?
@eliKorvigo comment(s) answer the questions.
PyCharm Inspect code provide the option of finding (possible) error before runtime.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With