Lis le code attentivement
# A tiny mock of what client.messages.stream gives you.
def text_stream():
for chunk in ["Hi ", "Claude ", "here."]:
yield chunk
for text in text_stream():
print(text, end="")
print() # final newlineQue va afficher le programme ? Écris ici :