Test case hidden | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Test case hidden

I have completed the chelenge but in that chelenge the test cases are hidden Wich are wrong in my code The code is # flowing words sentace = input() flowing = "true" ls = sentace.split(" ") for i in range(len(ls)): if(i == len(ls)-1): break if(ls[i][-1] == ls[i+1][0]): flowing = "true" else: flowing = "false" print(flowing )

4th Sep 2023, 5:34 PM
Najibullah Rahmani
Najibullah Rahmani - avatar
2 Answers
+ 6
If you post your code maybe I or someone else could help you.
4th Sep 2023, 6:18 PM
Keith
Keith - avatar
0
Ok updated the code
8th Sep 2023, 6:00 PM
Najibullah Rahmani
Najibullah Rahmani - avatar