Write the output of following code: -
>>> St = “HellOWorld”
>>> print(St[:2], St[: ─2] )
>>> print( St[3 : ─ 4])
>>>print(St[::-1] )
>>>print(St[:-3:-1])
Can some one help????
Answers
Answered by
1
Output:
He HellOWor
lOW
dlroWOlleH
dl
Similar questions