Fill in the blanks with code so that the program must accept three integers separated by a space and print them separated by a comma as the output
Input Format:
The first line contains three integers separated by a space.
Output Format:
The first line contains three integers separated by a comma.
Example Input/Output:
217 18
21,7,18
Solution:
X, Y, Z = map(int, input().split())
print(X, Y, Z,sep="," )
No comments:
Post a Comment