Possible Duplicate:
SyntaxError near “print”?
I've a very weird syntax error right now in python.. Here is the part of code:
tradeID = contract.get('tradeId')
itemID = contract.get('itemData').get('id')
if client.buyItem(tradeID, 200):
print 'Bought Contract for 200 coins'
if client.moveCard(str(itemID), 'trade'):
client.postTrade(str(itemID), str(250), str(0), str(3600))
print 'Contract posted For 250 Coins'
It says syntax error for the line print 'Bought Contract for 200 coins'