• Python [slices: not working]

 

Python slices not working if i use open construction like [1:] or [:-2]

From: https://py.checkio.org/mission/correct-sentence/solve/

HTTP_USER_AGENT:

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/70.0.3538.77 Chrome/70.0.3538.77 Safari/537.36