What will be the output of the following Python code snippet?
string = "my name is x"
for i in ' '.join(string.split()):
print (i, end=", ")1.m, y, , n, a, m, e, , i, s, , x,
2.m, y, , n, a, m, e, , i, s, , x
3.my, name, is, x,
4.error
Posted Date:-2021-12-30 07:22:13