Q. What is the result of 'Python'[-1]?

  • (A) P
  • (B) n
  • (C) h
  • (D) o
πŸ’¬ Discuss
βœ… Correct Answer: (B) n
Explanation: Negative index -1 returns the last character.
Explanation by: Mr. Dubey
Negative index -1 returns the last character.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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