Vidyalelo
Python · Q156

MCQs for Python Strings: Exam

Programming · Python · question 156

Q156

What will be the output of the following Python code? print('abc'.encode())

A.
abc
B.
'abc'
C.
b'abc'
Answer
D.
h'abc'

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board