We know we can set formats using
setFormat method, formatting allows us to set the formatting like percentage or the text to the Progress Bar.
resetFormat method is used to clear all the formatting of progress bar and set it back to default which are ‘%p%’ i.e percentage value + percentage symbol.
Syntax : bar.resetFormat()
Argument : It takes no argument.
Action performed : It will clear all the previous formatting of that progress bar and set it to default.
Below is the implementation of this method.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course