|
2 | 2 | "cells": [ |
3 | 3 | { |
4 | 4 | "cell_type": "code", |
5 | | - "execution_count": 18, |
| 5 | + "execution_count": 21, |
6 | 6 | "metadata": {}, |
7 | 7 | "outputs": [ |
8 | 8 | { |
9 | | - "name": "stdout", |
10 | | - "output_type": "stream", |
11 | | - "text": [ |
12 | | - "Developer Overring : Soumyadip Chowdhury [email protected] 700000 Python\n", |
13 | | - "Developer Overring : Soumyadip Chowdhury [email protected] 900000 JAVA\n", |
14 | | - "Manager Overring : Soumyadip Chowdhury [email protected] 700000 <__main__.Developer object at 0x000001EFA8D0BC08>\n" |
| 9 | + "ename": "SyntaxError", |
| 10 | + "evalue": "invalid syntax (<ipython-input-21-e42967c55020>, line 30)", |
| 11 | + "output_type": "error", |
| 12 | + "traceback": [ |
| 13 | + "\u001b[1;36m File \u001b[1;32m\"<ipython-input-21-e42967c55020>\"\u001b[1;36m, line \u001b[1;32m30\u001b[0m\n\u001b[1;33m def __init__(self,f ,l ,p ,employees=None):\u001b[0m\n\u001b[1;37m ^\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m invalid syntax\n" |
15 | 14 | ] |
16 | 15 | } |
17 | 16 | ], |
|
43 | 42 | " def print(self):\n", |
44 | 43 | " for x in self.employees:\n", |
45 | 44 | " print(x)\n", |
46 | | - " print(\"Manager Overring : {} {} {} {} {}\".format(self.first,self.last,self.email,self.pay,self.employees)\n", |
| 45 | + " print(\"Manager Overring : {} {} {} {} {}\".format(self.first,self.last,self.email,self.pay,self.employees)\n", |
47 | 46 | " \n", |
48 | | - " def __init__(self,f ,l ,p ,employees=None ):\n", |
| 47 | + " def __init__(self,f ,l ,p ,employees=None):\n", |
49 | 48 | " super().__init__(f,l,p)\n", |
50 | 49 | " if employees is None:\n", |
51 | 50 | " self.employees=[]\n", |
|
0 commit comments