Write a program that inputs two words and checks if they are the same. Do not make difference between uppercase and lowercase letters. You have to print "yes" or "no".
Input | Output |
---|---|
Hello Hello |
yes |
SoftUni softuni |
yes |
Soft Uni |
no |
banana lemon |
no |
HeLlO hELLo |
yes |
Before comparing the words, turn them into a lowercase to avoid the letter size influence (uppercase / lowercase): word = word.ToLower()
.
Test your solution here: https://judge.softuni.org/Contests/Practice/Index/506#10.