Getting wrong answer even though the desired result is obtained
Created 3 years ago
67
Views
3
Comments
This is the problem statement(codekata-input/output: Qn:7):
Input Description:
A single line contains a string.
Output Description:
Print the characters in a string separated by space.
This is my code:
a=input()
for i in a:
print(i,end=" ")
I am getting the right output, but still, when I submit, I am getting the message "Failed one or more test cases.". Is there anything wrong with my code?