Question: Write in Python 2.) Write the pseudo-code of an algorithm that reads two lists of numbers form the user and prints TRUE if the lists

Write in Python

2.) Write the pseudo-code of an algorithm that reads two lists of numbers form the user and prints TRUE if the lists are equal, and FALSE if not. Assume that both lists are of the same length. As an example if the algorithm reads X = [1, 0, 2, 0, 3, 0] and Y = [1, 0, 3, 2, 3, 0], the algorithm should print FALSE.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!