Skip to content

Commit 005421d

Browse files
committed
Raise am
1 parent 318c43a commit 005421d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Employee Class Variable.ipynb

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": 16,
5+
"execution_count": 22,
66
"metadata": {},
77
"outputs": [
88
{
@@ -12,7 +12,8 @@
1212
"1.04\n",
1313
"1.04\n",
1414
"1.04\n",
15-
"{'__module__': '__main__', 'raise_amount': 1.04, '__init__': <function Employee.__init__ at 0x0000024613529288>, 'print': <function Employee.print at 0x0000024613529798>, 'apply_raise': <function Employee.apply_raise at 0x0000024613529708>, '__dict__': <attribute '__dict__' of 'Employee' objects>, '__weakref__': <attribute '__weakref__' of 'Employee' objects>, '__doc__': None}\n",
15+
"{'first': 'Soumyadip', 'last': 'Chowdhury', 'email': '[email protected]', 'pay': 900000}\n",
16+
"{'first': 'Soumyadip', 'last': 'Chowdhury', 'email': '[email protected]', 'pay': 100000}\n",
1617
"Soumyadip Chowdhury [email protected] 900000\n",
1718
"Soumyadip Chowdhury [email protected] 100000\n"
1819
]
@@ -45,6 +46,8 @@
4546
"\n",
4647
"\n",
4748
"print(Employee.__dict__)\n",
49+
"print(emp_1.__dict__)\n",
50+
"print(emp_2.__dict__)\n",
4851
"\n",
4952
"print(emp_1.print())\n",
5053
"print(emp_2.print())"

0 commit comments

Comments
 (0)