6

Take this example code block:

In [1]: text = "I'm a stringy!"

In [2]: print(text)
I'm a stringy!

In [3]: print(text[:-1])
I'm a stringy

In [4]: print(text[::-1])
!ygnirts a m'I

In [5]: print(text[:4:-1])

In [6]: print((text:4:-1] + text[:3:5])[::-1])
I stringy!

In [7]: print(text[::-1][::-1][::-1])
!ygnirts a m'I

The quotes start a red portion even if <!-- language: lang-none --> is at the top. I expected fully non-colored text.


On iOS:

IOS screenshot

And Android:

Android screenshot

You must log in to answer this question.

Browse other questions tagged .