What is the syntax error in this code? Python 3.4

Question:

print ('t -m, --methodttHTTP Method to use 'get' or 'post'  or 'random'tt(default: get)')

Syntax error : Invalid syntax

enter image description here

    print (GOLDENEYE_BANNER)
print 
print (' USAGE: ./goldeneye.py <url> [OPTIONS]')
print
print (' OPTIONS:')
print ('t FlagtttDescriptionttttttDefault')
print ('t -u, --useragentstFile with user-agents to usetttt(default: randomly generated)')
print ('t -w, --workersttNumber of concurrent workerstttt(default: {0})'.format(DEFAULT_WORKERS))

print ('t -s, --socketsttNumber of concurrent socketstttt(default: {0})'.format(DEFAULT_SOCKETS)
print ('t -m, --methodttHTTP Method to use 'get' or 'post'  or 'random'tt(default: get)')
print ('t -d, --debugttEnable Debug Mode [more verbose output]ttt(default: False)')
print ('t -h, --helpttShows this help')
Asked By: Reem Aljunaid

||

Answers:

The error is on line 553. You are missing a closing parenthesis.

Line 553 should be:

print('t -s, --socketsttNumber of concurrent socketstttt(default: {0})'.format(DEFAULT_SOCKETS))
Answered By: kjschiroo
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.