Exercises

We'll cover the following

Exercise 1

The identity function is a function that always returns whatever value is passed to it. Add an identity function to this program so that the main function prints “Success!” without modifying main:

Get hands-on with 1000+ tech skills courses.