Vidyalelo
Python · Q86

MCQs for Python Strings: Exam

Programming · Python · question 86

Q86

What will be the output of the following Python code? >>>example = "snow world" >>>print("%s" % example[4:7])

A.
wo
Answer
B.
world
C.
sn
D.
rl

Answer: Option A

Solution

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