Docstring

This commit is contained in:
2024-01-17 23:11:46 +01:00
parent df00b12751
commit 7550cc8ae6
+6 -1
View File
@@ -568,7 +568,12 @@ async def check():
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]