Skip to content

Commit 03b2cd6

Browse files
committed
OBJ Employee
1 parent 53efc2f commit 03b2cd6

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

Employee Obj.ipynb

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,28 @@
4646
},
4747
{
4848
"cell_type": "code",
49-
"execution_count": null,
49+
"execution_count": 8,
5050
"metadata": {},
51-
"outputs": [],
52-
"source": []
51+
"outputs": [
52+
{
53+
"name": "stdout",
54+
"output_type": "stream",
55+
"text": [
56+
"<__main__.Employee object at 0x000001C215A66B48>\n",
57+
"Soumyadip\n",
58+
"Chowdhury\n",
59+
60+
"90000\n"
61+
]
62+
}
63+
],
64+
"source": [
65+
"print(emp_1)\n",
66+
"print(emp_1.first)\n",
67+
"print(emp_1.last)\n",
68+
"print(emp_1.email)\n",
69+
"print(emp_1.pay )"
70+
]
5371
}
5472
],
5573
"metadata": {

0 commit comments

Comments
 (0)