Seymore4Head <Seymore4Head@Hotmail.invalid> Wrote in message: > 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? >
One looks like it wrks and two looks like nonsense. Just what are you trying to ask? -- DaveA -- https://mail.python.org/mailman/listinfo/python-list