Q:

What will be the output of the following Python code?

0

What will be the output of the following Python code?

example = "snow world"

print("%s" % example[4:7])

Execute in the shell and verify.


  1. wo
  2. world
  3. sn
  4. rl

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

wo

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Python Multiple Choice Questions And Answers

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What are the values of the following Python expres... >>
<< What is the maximum possible length of an identifi...