Docstring

This commit is contained in:
2024-01-17 23:11:46 +01:00
parent df00b12751
commit 7550cc8ae6
+5
View File
@@ -568,6 +568,11 @@ async def check():
async def get_random_cyclic_message(): async def get_random_cyclic_message():
"""
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) messnum = random.randint(0, len(cyclic_words)-1)
return cyclic_words[messnum][0] return cyclic_words[messnum][0]