refactor code

This commit is contained in:
2024-07-16 12:52:44 -05:00
parent 533151ebde
commit ec398c064a
8 changed files with 126 additions and 186 deletions

View File

@@ -1,60 +1,5 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 12,
"outputs": [],
"source": [
"import string"
],
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2024-07-10T23:28:52.928913Z",
"start_time": "2024-07-10T23:28:52.924646Z"
}
}
},
{
"cell_type": "code",
"execution_count": 26,
"outputs": [],
"source": [
"attributes = string.ascii_letters + string.digits + string.punctuation\n",
"attributes = attributes.replace(\"'\", \"\")\n",
"attributes = attributes.replace('\"', \"\")\n",
"attributes = attributes[:70]"
],
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2024-07-11T11:58:52.615905Z",
"start_time": "2024-07-11T11:58:52.614545Z"
}
}
},
{
"cell_type": "code",
"execution_count": 28,
"outputs": [
{
"data": {
"text/plain": "70"
},
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [],
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2024-07-11T12:00:03.004548Z",
"start_time": "2024-07-11T12:00:03.000564Z"
}
}
},
{
"cell_type": "code",
"execution_count": null,