Back to tasks
Different words
BeginnerPython for kids 路 Lesson 27: Comparing text
Problem Statement
Read two words. Print ROZNE (different) if they differ, and TAKIE SAME (the same) if they are equal.
Input Format
Two words, each on its own line (small letters only, no spaces).
Output Format
ROZNE or TAKIE SAME.
Examples
Example 1
Input
las lis
Output
ROZNE
Example 2
Input
las las
Output
TAKIE SAME