[Solved] How to call functions in python


Besides from that your function definition for SearchForCapitals has a typo, by which I mean that the line

def SerachForCapitals():

should be

def SearchForCapitals():

(note the spelling of Search), your code works perfectly fine for me.

If this does not fix your problem, you should provide the output you get when running the code.

1

solved How to call functions in python