adplus-dvertising
frame-decoration

Question

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

a.

wo

b.

world

c.

sn

d.

rl

Posted under Strings in Python Python

Answer: (a).wo

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following code ?