Skip to content

Commit

Permalink
[Currency Exchange]: Update stub & exemplar with Module Docstring (#3600
Browse files Browse the repository at this point in the history
)

* [Currency Exchange]:  Update stub with Module Docstring

Sub file was missing a docstring and tripping a "missing module docstring" warning in the Analyzer.

* [Currency Exchange]: Update exemplar.py

Added same docstring to exemplar file that was added to the stub file.

* Update exchange.py removed numeric stack doc

* Update exemplar.py 

Removed numeric stack doc.

[no important files changed]
  • Loading branch information
BethanyG authored Jan 22, 2024
1 parent 6f1fa93 commit b157de1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions exercises/concept/currency-exchange/.meta/exemplar.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
"""Functions for calculating steps in exchaning currency.
Python numbers documentation: https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex
Overview of exchanging currency when travelling: https://www.compareremit.com/money-transfer-tips/guide-to-exchanging-currency-for-overseas-travel/
"""

def exchange_money(budget, exchange_rate):
"""
Expand Down
9 changes: 9 additions & 0 deletions exercises/concept/currency-exchange/exchange.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
"""Functions for calculating steps in exchaning currency.
Python numbers documentation: https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex
Overview of exchanging currency when travelling: https://www.compareremit.com/money-transfer-tips/guide-to-exchanging-currency-for-overseas-travel/
"""



def exchange_money(budget, exchange_rate):
"""
Expand Down

0 comments on commit b157de1

Please sign in to comment.