To retrieve the character at index 3 from string s=”Hello” what command do we execute (multiple answers allowed)?
Posted: Wed Jul 13, 2022 7:44 pm
a) s[]
b) s.getitem(3)
c) s.__getitem__(3)
d) s.getItem(3)
b) s.getitem(3)
c) s.__getitem__(3)
d) s.getItem(3)