Question: python homework 5.18.1 I need help on this python assignments. I added this code to my assignment but it turned out to be wrong. I

 python homework 5.18.1 I need help on this python assignments. I

python homework

5.18.1 I need help on this python assignments. I added this code to my assignment but it turned out to be wrong. I need to know if you can help me.

247772.1716882 LAB ACTIVITY 5.18.1: LAB: Swapping variables main.py 13 LIILI TUILEI, LILIU - LUCpull LIILCI 14 15 # Test to see if the first number is greater than the second number 16 if str(first) > str(second): 17 str(first) > str(second) 18 # Test to see if the second number is greater than the third number 19 if str(second) > str(third): 20 str(second) > str(third) 21 # Test to see if the first number is greater than the second number again 22 def swap(a,b): 23 return b, a 24 a = str(second) 25 b= str(third) 26 a,b=swap(a,b) 27 print(a,b) 28 if str(first) > str(second): 29 str(first) > str(second) # Print numbers in numerical order 31 print("Smallest: + str(first)) 32 print("Next smallest: " + str(second)) 33 print(Largest: " + str(third)) 30 TOT Type here to search Is 16 # & /'; # 3 $ 4 2 5 6 7 w 1 R T TASD G H J

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!