adds currency converter

This commit is contained in:
waldek 2021-11-12 12:40:08 +01:00
parent 952860942b
commit 824acc8ab0
1 changed files with 3 additions and 0 deletions

View File

@ -458,6 +458,8 @@ That's not a number I understand...
```
<details>
<summary>Spoiler warning</summary>
```python
result = input("How much EUR would you like to convert into DOLLAR? ")
rate = 1.14
@ -468,6 +470,7 @@ if result.isdigit():
print("{} EUR is {} DOLLAR".format(eur, dollar))
else:
print("That's not a number I understand...")
```
</details>