define_method.py edited online with Bitbucket
This commit is contained in:
parent
d9892ac441
commit
19bfe341a8
@ -1,7 +1,9 @@
|
|||||||
import requests
|
import requests
|
||||||
import help_methods
|
import help_methods
|
||||||
|
|
||||||
def get_definition(content):
|
def get_definition(content):
|
||||||
if len(content.split()) > 1:
|
|
||||||
|
if len(content.split()) > 1:
|
||||||
word = content.split()[1:]
|
word = content.split()[1:]
|
||||||
try:
|
try:
|
||||||
definition = requests.get(
|
definition = requests.get(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user