+ 1

Python😭

How do you print the fourth character of the third element of a list named my_list in python?

12th Feb 2019, 2:24 AM
Safina Nganga
Safina Nganga - avatar
2 Answers
+ 4
You need to select the third element from the list and then u can do string slicing to print the fourth character. https://code.sololearn.com/cUvv557j8tH2/?ref=app
12th Feb 2019, 3:17 AM
Arushi Singhania
Arushi Singhania - avatar
+ 2
haha thank you that makes a lot of sense
12th Feb 2019, 3:24 AM
Safina Nganga
Safina Nganga - avatar