PS: Do not use regular expressions or built in function. Please answer it according to the questions. TY Suppose you have a sitting arrangement of the students who will give the final exam in a list. The list contains the last two digits of their student ID as giv below. sitting_list = [10,30,20,70,11,15,22,16,58,100,12,56,70,801 Now you want to organize the sitting arrangement of the students in your own way. You decide to sort all the students in the even indices of the list in ascending order and all the students in the odd indices of the list in descending order So, write a python program that organizes the list for you in this way. Sample Output [10. 100. 11, 80, 12. 70, 20, 56, 22, 30, 58, 16, 70, 15]

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter3: Performing Calculations With Formulas And Functions
Section: Chapter Questions
Problem 3.9CP
icon
Related questions
Question
PS: Do not use regular expressions or built in function. Please answer it according to the questions. TY Suppose you have a sitting arrangement of the students who will give the final exam in a list. The list contains the last two digits of their student ID as giv below. sitting_list = [10,30,20,70,11,15,22,16,58,100,12,56,70,801 Now you want to organize the sitting arrangement of the students in your own way. You decide to sort all the students in the even indices of the list in ascending order and all the students in the odd indices of the list in descending order So, write a python program that organizes the list for you in this way. Sample Output [10. 100. 11, 80, 12. 70, 20, 56, 22, 30, 58, 16, 70, 15]
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Linked List Representation
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage