Пример #1
0
def get_info_better(word):
    string = ""
    try:
        string += "№Ÿ“Œ %s \n" % word
        string += "№Ÿ”Ž %s \n" % remdict.get_definition(word)
    except:
        raise Exception
    else:
        string += "№Ÿ“– %s \n" % remdict.get_example_of_use(word)
        return string
Пример #2
0
def get_info():
    string = ""
    try:
        rm = wod.random_word(7)
        string += rm + "\n"
        string += remdict.get_definition(rm) + "\n"
    except:
        raise Exception
    else:
        string += remdict.get_example_of_use(rm)
        return string
Пример #3
0
def get_info():
    string = ""
    word = wod.random_word(7)
    try:
        string += "№Ÿ“Œ %s\n" % word
        string += "№Ÿ”Ž %s\n" % remdict.get_definition(word)
    except:
        raise Exception
    else:
        string += "№Ÿ“– %s \n" % remdict.get_example_of_use(word)
        return string
Пример #4
0
def get_definition(word):
    definition = remdict.get_definition(word)
    return definition
Пример #5
0
def get_definition(word):
    definition = "№Ÿ”Ž " + remdict.get_definition(word)
    return definition