[Duplicate] How will you extract ‘love’ from the string S = “I love Python”? (More than one option may be correct.).

  1. S[2:5]
  2. S[2:6]
  3. S[3:7]
  4. S[-11:-7]
  5. S[-11:-8]