Challenge: Coroutine Builders

Solve a challenge regarding coroutine builders.

We'll cover the following

Problem

Write a code that will provide us with our desired output with a delay of 2 seconds, using the suspending main function together with coroutineScope.

Restriction

The output will be available in the terminal.

Output

The output will be as follows. Here, we will see a delay of 2 seconds between these.

Educative !
EDUCATIVE!!

Get hands-on with 1400+ tech skills courses.