jetbrains-academy / introduction_to_python

Introduction to Python course
MIT License
42 stars 27 forks source link

This is the only answer I cannot check Strings / String Slicing #203

Closed edutools-service closed 1 year ago

edutools-service commented 1 year ago

I haven't had any problems checking the answers for other tests. I'm not sure why this one is not working for me. TypeError: type 'str' is not subscriptable

sofiiako commented 1 year ago

The error you mentioned might have arisen because you might have tried to slice a single character as if it were a string collection. To avoid the error and achieve the intended result, you should use slicing notation as described in the task.