Created
April 25, 2021 17:39
-
-
Save imgVOID/17aa473781df8e2765c781dc0775ce33 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
def hello_world_random(data): | |
hello_world_languages = [ | |
"Ola Mundo", # Португальский | |
"Hello World", # Английский | |
"Hola Mundo", # Испанский | |
"Geiá sou Kósme", # Греческий | |
"Kon'nichiwa sekai", # Японский | |
"Hallo Welt", # Немецкий | |
"namaste duniya" # Хинди | |
] | |
i = random.randint(0, len(hello_world_languages)-1) | |
return {'text': hello_world_languages[i]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment