loop python sampai kondisi terpenuhi

finished = False
while not finished:
    ... do something...
    finished = evaluate_end_condition()
Disgusted Dove