>>> a = 'hello'
>>> b = [1, 2, 3]
>>> b.append(a)
>>> b
[1, 2, 3, 'hello']
>>> b.extend(a)
>>> b
[1, 2, 3, 'hello', 'h', 'e', 'l', 'l', 'o']
>>>
Fine.
2023-10-22 18:10:04
>>> a = 'hello'
>>> b = [1, 2, 3]
>>> b.append(a)
>>> b
[1, 2, 3, 'hello']
>>> b.extend(a)
>>> b
[1, 2, 3, 'hello', 'h', 'e', 'l', 'l', 'o']
>>>
Fine.