New to LessWrong?

New Answer
New Comment

1 Answers sorted by

JBlack

Mar 10, 2023

40

How about this[1]

for (i=1; i <=n; i++) {

  std::cout << askChatGPT("What number is at position " + i + " in the Fibonacci sequence?") << std::endl;

}

  1. ^

    Implementing askChatGPT() in C++ is left as an exercise for the reader.

1 comment, sorted by Click to highlight new comments since: Today at 5:13 AM

Ugh, is this your homework? Will approve this in case someone feels like answering, but maybe try GPT/Bing