parse_result(json result) -- print the web query according to the type 
	of result from duckduckgo.

def parse_result(result):
	"""parse_result(json result) -- print the web query according to the type 
	of result from duckduckgo.
	"""

	if(result['Type'] == 'D'):
		print """There is more than one answer for this. Try making your query\
		more specific. For example, if you want to learn about apple the company\
		and not apple the fruit, try something like apple inc or apple computers.  
		"""
	
	elif(result['Type'] == 'A'):
		print result['AbstractText']
		print '\nResults from DuckDuckGo'
	
	elif(result['Type'] == 'C'):
		for entry in result['RelatedTopics']:
			print entry['Text']
			print "\n"
	else:
		print "I do not know how to process this query at the moment."