To Retrieve The Character At Index 3 From String S8221hello8221 #240
To retrieve the character at index 3 from string s=”Hello” what command do we execute (multiple answers allowed)?
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Strings - Python Strings - Quiz No.4.
To retrieve the character at index 3 from string s=”Hello” what command do we execute (multiple answers allowed)?
s[]
s.getitem(3)
s.__getitem__(3)
s.getItem(3)