about | help | code help+videos | done | prefs |
x is a string of length 1 or more. a and b are integers where 0 <= a <= b < len(x). Complete the function so that it returns a string of all the characters in x from index a up to, and including index b. part('computer', 1, 4) → 'ompu' part('cat', 0, 2) → 'cat' part('dog', 2, 2) → 'g' ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy