How to find middle name from the list in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to find middle name from the list in python?

10th Feb 2021, 2:49 PM
Himani Baro
Himani Baro - avatar
2 Answers
+ 4
Hi, can you please remove other words but only 'Python' and 'list' from the tags. We avoid writing sentence, code or question in the tags. Tags are search terms for search engine, use of arbitrary words in tags ruins search engine accuracy. And you can share your code link in your Description for a better understanding about the problem. Or at least provide examples of the list content and expected results in your Description. https://www.sololearn.com/post/75089/?ref=app
10th Feb 2021, 2:52 PM
Ipang
0
Have you tried to use "index" method?... I'm not sure if it solves your problem, but still you can try it. Here is a link for list methods: https://docs.python.org/3/tutorial/datastructures.html
10th Feb 2021, 6:29 PM
Tomas Konecny