split
is not working on empty separators. Just use the string:
print("-".join(string))
solved What is wrong in this code here
split
is not working on empty separators. Just use the string:
print("-".join(string))
solved What is wrong in this code here