FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Scientific-Computing-with-Python/arithmetic-formatter at main · gr3gor1/Scientific-Computing-with-Python · GitHub

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Create a function that receives a list of strings that are arithmetic problems and returns the problems arranged vertically and side-by-side. The function should optionally take a second argument. When the second argument is set to True, the answers should be displayed. The solution can be found in arithmetic_arranger.py. You can also check the test_module.py for the tests of this project.

Some examples of expected results can be found below :

  11      3801      1      123         1
+  4    - 2999    + 2    +  49    - 9380
----    ------    ---    -----    ------
  15       802      3      172     -9379

The full description of the project can be found here : https://www.freecodecamp.org/learn/scientific-computing-with-python/scientific-computing-with-python-projects/arithmetic-formatter

Check the functional project and the the tests here (Replit) : https://replit.com/join/uuogbdsnms-grigoriospapani


Back | FazBrowse Home | New Git URL