#python code
def ReadTextFile(string):
with open(string, "r", encoding="utf-8") as file:
return file.read().split(" ")
print(ReadTextFile("puppy.txt"))
cmd |> ['text', 'text']
By the way, you can look into the Russian community "brainly", I published a lot of similar code there.
znanija.com/app/profile/21571307