Code:-
method1:-
mytuple=("easy","coding","zone")
mystring=" ".join(mytuple)
print(mystring)
method2:-
mytuple=("easy","coding","zone")
mystring=" "
for i in mytuple:
mystring=mystring+" "+i
print(mystring)
Output:-
easy coding zone
Code:-
method1:-
method2:-
Output:-
0 Comments