Question: I need help with this code and errornum 1 = int ( sys . argv [ 1 ] ) num 2 = int ( sys

I need help with this code and errornum1=int(sys.argv[1])
num2=int(sys.argv[2])
print(num1)
print(num2)
ValueError
Traceback (most recent call last)
Cell In[6], line 22 num1=int (sys.argv[1])4 print(num1)ValueError: invalid literal for int() with base 10: '-f'
I need help with this code and errornum 1 = int (

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 Programming Questions!