pythonの擬コードをchatgptに読み込ませる

自然言語での指示だけじゃなくて、こんなのも動く

こちらの方が作成されたものを少しだけ改変しただけです。(発明者に敬意を)

https://twitter.com/niwatoro277/status/1638050800751738881


title = "カップラーメンを作っている"
writers = [夏目漱石,村上春樹]

for writer in writers
    translation = write_based_on_the_provided_sentence_as_if_the_writer_writes(title,writer)
    print(translation)