Skip to content

Commit 963a912

Browse files
committed
currency converter
1 parent 304625d commit 963a912

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web_programming/currency_converter.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,11 @@ def convert_currency(
186186

187187

188188
if __name__ == "__main__":
189-
baseCurrency = input("Enter base currency: ").strip()
190-
targetCurrency = input("Enter target currency: ").strip()
189+
base_currency = input("Enter base currency: ").strip()
190+
target_currency = input("Enter target currency: ").strip()
191191
amount = input("Enter the amount: ").strip()
192192
print(
193193
convert_currency(
194-
baseCurrency=baseCurrency, targetCurrency=targetCurrency, amount=amount
194+
baseCurrency=base_currency, targetCurrency=target_currency, amount=amount
195195
)
196196
)

0 commit comments

Comments
 (0)