The only problem I am facing in this problem is that my tuple has elements separated by a space how can I resolve this?
Doubt in spacing
Hey @yashb4569, you can write custom print statement, like x is your tuple,
print("("+str(x[0]) + “,”+str(x[1])+")")
Hope this cleared your doubt. 