HOW TO PRINT MIDDLE OF INDEX IN LIST | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

HOW TO PRINT MIDDLE OF INDEX IN LIST

EXAMPLE [1,2,3,4,5,6,7,8,9] MIDDLE ONE

21st Mar 2023, 10:26 AM
NET MASTER
NET MASTER - avatar
4 Answers
+ 4
21st Mar 2023, 2:22 PM
BroFar
BroFar - avatar
+ 7
NET MASTER , > not quite clear what your issue is. > can you give 2 samples (even number of elements and odd number of elements if this is relevant) of input, and what the expected output should be.
21st Mar 2023, 11:59 AM
Lothar
Lothar - avatar
+ 2
The index in the middle or the contents of the index in the middle?
21st Mar 2023, 12:30 PM
Bob
0
Example [1,2,3,4,5,6,7,8,9] how to print middle one
21st Mar 2023, 2:08 PM
NET MASTER
NET MASTER - avatar