Learning Scientific Programming with Python (2nd edition)
Q2.3.1: String slicing
Question Q2.3.1
Slice the string s='seehemewe'
to produce the following substrings:
(a) 'see'
(b) 'he'
(c) 'me'
(d) 'we'
(e) 'hem'
(f) 'meh'
(g) 'wee'
Learning Scientific Programming with Python (2nd edition)
Slice the string s='seehemewe'
to produce the following substrings:
(a) 'see'
(b) 'he'
(c) 'me'
(d) 'we'
(e) 'hem'
(f) 'meh'
(g) 'wee'