Skip to content

Commit 7e5e82a

Browse files
authored
07 completed
1 parent fb4eac5 commit 7e5e82a

File tree

2 files changed

+11
-0
lines changed
  • .learn/resets/07-Function-that-returns
  • exercises/07-Function-that-returns

2 files changed

+11
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
def dollar_to_euro(dollar_value):
2+
return dollar_value * 0.91
3+
4+
def euro_to_yen(euro_value):
5+
return euro_value * 161.70
6+
7+
####### ↓ YOUR CODE BELOW ↓ #######

exercises/07-Function-that-returns/app.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ def euro_to_yen(euro_value):
55
return euro_value * 161.70
66

77
####### ↓ YOUR CODE BELOW ↓ #######
8+
euros = dollar_to_euro(137)
9+
yenes = euro_to_yen(euros)
10+
11+
print(yenes)

0 commit comments

Comments
 (0)