What is the output of the following program ?
k = bytearray(b'python') k.extend(b'easy') print(k)
'pythoneasy'
b'pythoneasy'
bytearray(b'pythoneasy')
Error
Both the bytes will be combined to provide bytearray(b'pythoneasy')
Comment here: