Question: HHow can I add (and) in my code ? main.py 1 numList = [1] 2 while True: 3 num = int(input) 4 if num: numList.append(num)

HHow can I add (and) in my code ? main.py 1 numListHHow can I add (and) in my code ?

main.py 1 numList = [1] 2 while True: 3 num = int(input) 4 if num: numList.append(num) 6 else: 7 break 8 9 small = numList[@] 10 large numList[@] 11 for num in numList: 12 if numlarge: 15 large = num 16 print(small, large) Only show failing tests Download this submission 1: Compare output 0/4 Output differs. See highlights below. Special character legend 10 5 3 Input 21 2 -6 Your output 2 21 Expected output 2 and 21

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!