以下代码使用 str.join() 函数将元组转换为字符串。tup1 = ['h','e','l','l','o']

Use str.join() to convert tuple to string.

str = ''.join(tup1)
print (str)输出:hello