adds currency converter
This commit is contained in:
		
							parent
							
								
									952860942b
								
							
						
					
					
						commit
						824acc8ab0
					
				| 
						 | 
					@ -458,6 +458,8 @@ That's not a number I understand...
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
<details>
 | 
					<details>
 | 
				
			||||||
  <summary>Spoiler warning</summary>
 | 
					  <summary>Spoiler warning</summary>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```python
 | 
				
			||||||
result = input("How much EUR would you like to convert into DOLLAR? ")
 | 
					result = input("How much EUR would you like to convert into DOLLAR? ")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
rate = 1.14
 | 
					rate = 1.14
 | 
				
			||||||
| 
						 | 
					@ -468,6 +470,7 @@ if result.isdigit():
 | 
				
			||||||
    print("{} EUR is {} DOLLAR".format(eur, dollar))
 | 
					    print("{} EUR is {} DOLLAR".format(eur, dollar))
 | 
				
			||||||
else:
 | 
					else:
 | 
				
			||||||
    print("That's not a number I understand...")
 | 
					    print("That's not a number I understand...")
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
</details>
 | 
					</details>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue