Onar D.
Level 7
what wrong with code.
Resolved
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Justin Smith
24 September 2021, 12:33
Ah. So it might just be a misunderstanding of the condition. "The names are the same length" should only be printed if the names are different but the same length. In your code example, if the names are identical, it will print both "The names are identical" and "The names are the same length". You just need an "else" in there and it should be all set.
0
Onar D.
24 September 2021, 12:45
yep. it was right answer. yes very offen condition not understand. some time just not understand sometime is condition writed not understandible.
0