How to run a loop with progress bar?

Code:
foundroot = root.findall('setting')
    for country in foundroot:
        settingelement = country.find("setting")
        findvalue = country.get('default')
        print(findvalue)

This something I’m trying. I wanna show a progress bar with this. Is anyone know? Plz help me

How this can do in KodiConfusedConfused?