For Example: I want to change t=('a', 'b', 'c') to s='a', 'b', 'c'
For Example: I want to change t=('a', 'b', 'c') to s='a', 'b', 'c'
t = ('a', 'b', 'c')s = 'a','b', 'c'print(s==t)# output True
if you want s = 'a,b,c'
then you can do it by joining which you do not want to do. Also, it's useless to write 'a','b','c'
as string, however you can do that by using commented code. Please consider writing s = a,b,c
s = ''
for i in t:s += str(',') + i # s += str(',') + str("'") + i + str("'")
s = s[1:]