Skip to content

Commit dca4961

Browse files
committed
Aggiunto notebook 15
1 parent 41c1ac0 commit dca4961

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

notebooks/Lab 15.ipynb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,23 @@
223223
"print(c)"
224224
]
225225
},
226+
{
227+
"cell_type": "code",
228+
"execution_count": 26,
229+
"metadata": {
230+
"collapsed": true
231+
},
232+
"outputs": [],
233+
"source": [
234+
"class StudenteStd(object):\n",
235+
" def __init__(self, a, b):\n",
236+
" self.nome = a\n",
237+
" self.cognome = b\n",
238+
" \n",
239+
" def __str__(self):\n",
240+
" return \"{}, {}\".format(self.nome, self.cognome)"
241+
]
242+
},
226243
{
227244
"cell_type": "code",
228245
"execution_count": null,

0 commit comments

Comments
 (0)