QUESTION IMAGE
Question
what is the output of the following code?
x = \10\
y = int(x) + 5
print(y)
105
15
\105\
error
Step1: Convert string to integer
The int() function converts the string "10" to the integer \(10\).
Step2: Perform addition
\(y = 10+5\).
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
B. \(15\)