Quiz: Coroutines
Quiz on coroutines concepts.
We'll cover the following...
We'll cover the following...
Choose the possible correct answer(s).
1.
Identify the true statement(s).
A.
A coroutine is defined as a generator function with yield
in its body.
B.
The first call is next()
because the generator hasn’t started, so it’s not waiting
in a yield
and we can’t send it any data initially.
C.
A coroutine can be in one of three states.
1 / 3
We hope ...