Back

Absolute Beginner-29-get an integer N and print the digits of the integer.

Created 2 years ago
325 Views
4 Comments
Prudhvi3CoXDd
@Prudhvi3CoXDd
Prudhvi3CoXDd
@Prudhvi3CoXDdProfile is locked. Login

Write a code to get an integer N and print the digits of the integer.
Input Description:
A single line contains an integer N.

Output Description:
Print the digits of the integer in a single line separated by space,

Sample Input :
348
Sample Output :
3 4 8


MY OUTPUT: GOT THE SAME OUTPUT AS EXPECTED OUTPUT BUT STILL TESTCASES FAILED (ref-below picture)

Comments (4)
Please login to comment.