Skip to content

LucasNative/freecodecamp-aritmetic_formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Aritmetic Formatter

This project is part of Scientific Computing with Python Projects by Free Code Camp

I developed this function that receives a list of arithmetic problems and returns the problems arranged vertically and side-by-side:

print(arithmetic_arranger(["32 + 698", "3801 - 2", "45 + 43", "123 + 49"]))

Optionally receives a second parameter True for show de result:

print(arithmetic_arranger(["32 + 698", "3801 - 2", "45 + 43", "123 + 49"], True))

Output:

drawing

For your convinience i let a example in de source code. Feel free to clone and use with your arithmetic problems!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages