mirror of
https://github.com/opus-tango/public-python.git
synced 2026-07-18 07:32:45 +00:00
Compare commits
2 Commits
82da764ab8
...
e97e40e9b9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e97e40e9b9 | ||
|
|
6f3d6cb4ec |
@@ -1,6 +1,11 @@
|
|||||||
# public-python
|
# public-python
|
||||||
This repository contains all of my public python program releases
|
This repository contains all of my public python program releases
|
||||||
|
|
||||||
|
March 22 2026
|
||||||
|
|
||||||
|
terrafirmagreg_bloomery.py Release v1.0.0
|
||||||
|
A calculator for optimizing iron dust to charcoal ratios to minimize lost iron in the bloomery
|
||||||
|
|
||||||
Sep 19 2019
|
Sep 19 2019
|
||||||
|
|
||||||
mental_math.py Release v1.0.0
|
mental_math.py Release v1.0.0
|
||||||
|
|||||||
12
terrafirmagreg_bloomery.py
Normal file
12
terrafirmagreg_bloomery.py
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
num_ore = 19
|
||||||
|
mb_per_ore = 129
|
||||||
|
mb_per_ingot = 144
|
||||||
|
mb_per_coal = 144
|
||||||
|
|
||||||
|
mb = num_ore * mb_per_ore
|
||||||
|
|
||||||
|
num_ingots = int(mb / mb_per_ingot)
|
||||||
|
num_coal = int(mb / mb_per_coal)
|
||||||
|
lost_mb = mb % mb_per_ingot
|
||||||
|
|
||||||
|
print(f"With {num_ore} ore and {num_coal} coal, you will get {num_ingots} ingots and lose {lost_mb} MB of iron.")
|
||||||
Reference in New Issue
Block a user