Summer Deals - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Text values
Variables
Functions
Summary
25. Exercise 1

Instruction

Okay, let's start with some currency conversion!

Exercise

John and Tanya are traveling back to the US, and they need to convert their Euros to dollars. We've created a variable named amount_eur that stores how much money they have in Euros.

Create a new variable named amount_usd that will represent how much money they have in dollars (1 EUR = 1.18093 USD). Round amount_usd to two decimal places.