Computer Science

From the string S = "CARPE DIEM", which ranges return "DIE" and "CAR"?

Python String Manipulation

17 Likes

Answer

  1. S[6:9] returns DIE
  2. S[:3] returns CAR

Answered By

9 Likes


Related Questions