Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python Problem: Given two lists, make a function that merges these two lists in descending order. Your main program will allow the user enter two

Python Problem: Given two lists, make a function that merges these two lists in descending order. Your main program will allow the user enter two lists of numbers and end input with a blank line for list 1. You are not allowed to concatenate two lists into a new list and then call the built-in sort() function to sort the new list in descending order. But it is allowed to sort two lists in descending order before merge.

image text in transcribed List 1: 1 3 3 6 List 2: 1 4 5 [6, 5, 4, 3, 3, 1, 1] List 1: 100 List 2: 1 13 [100, 3, 1, 1] List 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Programming questions