CAUsers\Jeri\Documents\cisc120\assignmentS\comparethree.py- Notepade File Edit Search View Encoding Language Settings Tools Macro Run Plugin comparethree py X import sys 21 a int (sys.argv[3]) b int...

I'm trying to write a code that takes in three ints and write 'equal' if all three are equal and 'not equal' otherwise. I want 3 3 3 to print equal and 3 2 3 print not equal.
CAUsers\Jeri\Documents\cisc120\assignmentS\comparethree.py- Notepade<br>File Edit Search View Encoding Language Settings Tools Macro Run Plugin<br>comparethree py X<br>import sys<br>21<br>a int (sys.argv[3])<br>b int (sys.argv[3])<br>int (sys.argv[3])<br>7.<br>Bif a - b:<br>print (
= int(sys.argv[3]) IndexError: list index out of range =READY "/>
Extracted text: CAUsers\Jeri\Documents\cisc120\assignmentS\comparethree.py- Notepade File Edit Search View Encoding Language Settings Tools Macro Run Plugin comparethree py X import sys 21 a int (sys.argv[3]) b int (sys.argv[3]) int (sys.argv[3]) 7. Bif a - b: print ("equal") 6. Belse 10 print ("not equal") 11 Eif b- c: 12 print ("equal") 13 Belse: 14 print ("not equal") 15 16 Console Traceback (most recent call last): File "comparethree.py", line 3, in = int(sys.argv[3]) IndexError: list index out of range =READY

Jun 01, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here