Solution: Output Variable Values in a Statement

In this lesson, we will look at the solution to the challenge asked in the previous lesson.

We'll cover the following

Solution #

Here is the code that outputs the statement “I have exchanged 20 Euros at the rate of 2.11.” The code is explained in detail in the latter part of the lesson.

Get hands-on with 1200+ tech skills courses.