Python Week2 Lecture2 Handout
PROGRAMMING,DATA STRUCTURES ANDALGORITHMS IN PYTHONWeek 2, Lecture 2
Document preparation
s = "hello"
t = s + ", there"
s[1:4] is “ell"
s = s[0:3] + "p!"