In: Computer Science
Fix this broken code?
# Get our input from the command line
import sys
string = sys.argv[1]
# Your code goes here
if string 'Bingo'
print('Missed')
else:
print('Hit!')
Here is the fix.
================================================================
# Get our input from the command line
import sys
string = sys.argv[1]
# Your code goes here
if string == 'Bingo':
    print('Missed')
else:
    print('Hit!')
=============================================================

You need to pass the argument to the program, if you are using Pycharm IDE, here is the screenshot as how you can configure passing the word as an argument
