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
πŸ’¬ Discuss
βœ… Correct Answer: (A) wo
Explanation: execute in the shell and verify.

Explanation by: Mr. Dubey
execute in the shell and verify.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
374
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate