Q31
What will be the output of the following Python code? >>>str="hello" >>>str[:2] >>>
A.
he
AnswerB.
lo
C.
olleh
D.
hello
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board