mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-18 07:42:09 +00:00
Docstring
This commit is contained in:
@@ -568,7 +568,12 @@ async def check():
|
|||||||
|
|
||||||
|
|
||||||
async def get_random_cyclic_message():
|
async def get_random_cyclic_message():
|
||||||
messnum = random.randint(0,len(cyclic_words)-1)
|
"""
|
||||||
|
The function `get_random_cyclic_message` returns a random cyclic message from a list of cyclic
|
||||||
|
words.
|
||||||
|
:return: a random cyclic message from the list `cyclic_words`.
|
||||||
|
"""
|
||||||
|
messnum = random.randint(0, len(cyclic_words)-1)
|
||||||
return cyclic_words[messnum][0]
|
return cyclic_words[messnum][0]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user