I want to toggle between color="Red" and color="Blue"
Here is one:
    if color == "Red":
        color = "Blue"
    else:
        color = "Red"
Here is two:
if x = "True" color = "Red"
else:
color="Blue"
x= not x

Others?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to