Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What will be the output of the following Python statement?
>>> print(‘x\97\x98’)

What will be the output of the following Python statement?
>>> print(‘x\97\x98’)
a) Error
b) 97
98
c) x\97
d) \x97\x98

Answer: c
Explanation: \x is an escape sequence that means the following 2 digits are a hexadecimal number encoding a character.

Join The Discussion