Back to tasks
Traffic lights
BeginnerPython for kids 路 Lesson 27: Comparing text
Problem Statement
Read the colour of a light (in Polish): czerwone (red), zolte (yellow) or zielone (green). Print STOP, UWAGA (careful) or JEDZ (go), and for another word - ?.
Input Format
One word (small letters only, no spaces).
Output Format
STOP, UWAGA, JEDZ or ?.
Examples
Example 1
Input
czerwone
Output
STOP
Example 2
Input
zielone
Output
JEDZ