Challenge 2: Multiple Asynchronous Calls

In this challenge, you are required to call the asynchronous function multiple times.

Problem Statement

Change the previous program to schedule the execution of two calls to the sum function.


Two number n1 and n2


The sum of two numbers in the order of the execution.

Coding Exercise

Write your code below. It is recommended​ that you try solving the exercise yourself before viewing the solution.

Get hands-on with 1000+ tech skills courses.