define_method.py edited online with Bitbucket

This commit is contained in:
Tyler Hodapp 2017-08-12 02:18:07 +00:00
parent 883f9fef1d
commit 208ae0a913

View File

@ -1,7 +1,9 @@
import requests
import help_methods
def get_definition(content):
if len(content.split()) > 1:
if len(content.split()) > 1:
word = content.split()[1:]
try:
definition = requests.get(