a) s[]
b) s.getitem(3)
c) s.__getitem__(3)
d) s.getItem(3)
To retrieve the character at index 3 from string s=”Hello” what command do we execute (multiple answers allowed)?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
To retrieve the character at index 3 from string s=”Hello” what command do we execute (multiple answers allowed)?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!