M
M
Marina_K1112019-10-31 14:03:44
PyCharm
Marina_K111, 2019-10-31 14:03:44

How to write a program that prompts the user to enter the color of a traffic light?

Write a program that prompts the user to enter the color of a traffic light. If the entered color is "Green" - the word "Go" appears, and the color of the window changes to green. If the entered color is “Yellow”, the word “Wait” appears, and the color of the window changes to yellow. If the entered color is "Red" - the word "Stop" appears, and the color of the window changes to red.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Marina_K111, 2019-10-31
@Marina_K111

need to write in python using tkinter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question