Cómo hacer un objeto establecido una vez Python

cords = 0
swiched = 100
done = False
while True:
    cords += 1
    if done == False:
        swiched = cords
        done = True
    print(swiched)
The Crazy Moon