Introduction to Programming using Python 1st Edition

Published by Pearson
ISBN 10: 0132747189
ISBN 13: 978-0-13274-718-9

Chapter 10 - Lists - Section 10.2 - List Basics - Check Point - MyProgrammingLab - Page 324: 10.7

Answer

list1 < list2 --> False list1 <= list2 --> False list1 == list2 --> False list1 != list2 -->True list1 > list2 -->True list1 >= list2 -->True

Work Step by Step

list1 = [30, 1, 2, 1, 0] list2 = [1, 21, 13] print(list1 < list2) print(list1 <= list2) print(list1 == list2) print(list1 != list2) print(list1 > list2) print(list1 >= list2)
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.