Q.

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

A. wo
B. world
C. sn
D. rl
Answer» A. wo
Explanation: execute in the shell and verify.
1.8k
0
Do you find this helpful?
16

Discussion

No comments yet