8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41c1ac0 commit dca4961Copy full SHA for dca4961
notebooks/Lab 15.ipynb
@@ -223,6 +223,23 @@
223
"print(c)"
224
]
225
},
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
243
{
244
"cell_type": "code",
245
"execution_count": null,
0 commit comments