you can add a counter to the loop condition.
c = 0
while c < 3:
try:
..
except ...
c = c + 1
2
solved While loop limit times [duplicate]
you can add a counter to the loop condition.
c = 0
while c < 3:
try:
..
except ...
c = c + 1
2
solved While loop limit times [duplicate]