I have a loop in my code, which looks somewhat like this:
x = 0
while x < 200:
# execute some code
x += 1
print(x, '/200')
How do I convert the print(...) statement present in the last line of the loop to a proper progress bar instead of the fraction it prints?