Added alternative solution in python

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2022-12-02 01:24:22 +01:00
parent 81decee6a9
commit be832438c5
9 changed files with 92 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ name = "calorie_counting_lib"
path = "src/lib.rs"
[[bin]]
name = "calorie_counting_bin"
name = "calorie_counting"
path = "src/bin.rs"
[dependencies]

View File

@@ -1,4 +1,13 @@
# Calorie Counting
Implementation of [this task](./task.md) that started clean but ended up in a lot of [bodging](https://en.wiktionary.org/wiki/bodge).
<sup>and is very much not idiomatic rust</sup>
## Usage
`cargo run --release -- --input <Path to file with inputs>`
Alternative
```sh
cargo install --release .
calorie_counting -i <Path to file with inputs>
```