lights = ["red" , "yellow", "green"] currentLight = lights[0] print(currentLight) if currentLight == "red": print("STOP") if currentLight == "yellow": print("READY!") if currentLight == "green": print("Go!")
lights = ["red" , "yellow", "green"] currentLight = lights[0] print(currentLight) if currentLight == "red": print("STOP") if currentLight == "yellow": print("READY!") if currentLight == "green": print("Go!")
Yorumlar
Yorum Gönder
Yorumunuz için teşekkür ederiz, en kısa sürede geri dönüş yapacağız.