log status of every firm product in every time step + mysql

This commit is contained in:
2023-07-02 20:44:06 +08:00
parent 0965a5daa4
commit 84828272e2
8 changed files with 92 additions and 53 deletions

View File

@@ -317,6 +317,46 @@
"print(27 / (4 * 3))\n",
"print(27 / 4 / 3)"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"for i in range(1,1):\n",
" print(i)"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]\n"
]
},
{
"data": {
"text/plain": [
"[6, 7, 8, 9, 10]"
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"lst = list(range(1,11))\n",
"print(lst)\n",
"\n",
"lst[-5:]"
]
}
],
"metadata": {