We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 8
fe He set owhey opto Ret Hee
vython 9.7.2 (taqs/v3.7.2:GaifFe0d92, Nec 23 201H, 23:09:28) [usc w.1916 64 bit (ampDéd)] on wind:
‘ype "help", "copyright", "credits" or "license ()" for more information.
>
RESTART: C:/Program Files/Python3//fdtd.py
mter the rno to addi
mmtar the name to addshanmugam
inter the avarage to add90
‘ress 1 to Continue or press other numbers to cxit?
inter Lhe name Lo searchshanmugan
1, 'shanmugan', 90)
od
Aipretne
Python 3.7.2 (taqs/v3.7.:
type "help", "copyright, “credit.
ace
seeneeeneanemecne RESTART: C:/Program Files/Python 3? / {afd py <--eeeewenennen
['madam', ‘racecar’, ‘civic’, *radar*]
The number of palindrome words in the list 1a 4
ra3££c0492, Doc 23 2018, 23:09:28) [MSC v.1916 64 bit (AMDE4)] on win32
Or “License()* for more information.
Bie
Python 3.7.2 (tags/v3.7.2¢
Type "help", “copysight®,
3tf60492, Dec 23 2018, 23:09:26) [MSC ¥.1916 64 bit (AMDEA)] on win3Z
credits” of “License()" for mote information.
RESTART: C2/Program Files /Python}7/tatd.py —
Press 1 for Half Shift
Preas 2 to Exit
Enter your option : I
Enter the elements of list
The shifted List i>
C2,
Prost 1 for Half shift
Press 2 to Exit
Enter your option + 2
me
Ceqpysight™, “oredite” Gr Liownset)* for moze
MSTA: C2/Progeam bLLes/vythont9/C4td.py
Wow Size: 3
Column site:
Value for 0:
Value for 0:
Valve for
Valve for
Value for
tue for
Element +1
Element 12
Elemnt $3
mee
a
a
1
2
0
1
2
0
a
£2 Bement 3
for Sum of Left Diagonal elenenta
2 for Sam of Right Diagonal elements
3 to quit
your option : 1
2
ue tor 2+
2
Press 1 for Sum of Left Diagonal elements
Press 2 for Sum of Might Diagonal elenenta
Press 3 to quit
Eater your option
2
Press 1 for Sum of Usft Diagonal element
Presa 2 for Sim of Bight Diagonal elenonta
Press 3 to quit
Enter your option +31fe 33 9018, 23:00:98) (MSC v.TOTE 6& bit (MMMGA)| on wind?
credits" or *lleense()* for more Information,
RESTART: C: /Prograr Files/Pythan31/fdfd.py =
ener the employee number 12
center Lhe namoPranith
enter the basic of the 19800
yr URA of
21%, + 19800, HRA: HOON, tN
*Totalnalt: 25424, "Annals a
Table : WORKER
ECODE [NAME ___] best PLEVEL | DO)
11 _TRadheShyam | Supervisor |P001 2004-09-12
12__| Chancernath Gperator |P003 1987 07-12]
113 Fizza Operator | puv3 1983-10-14
[14 Amcen Ahmed Mechanic | Pa02 1984-03-13
15 {Sanya | Clerk pon2 1983-06-09
18 Sarsa Supervisor | POD1 1982-02-01 |
‘Tebis ¢ PAYLEVEL
ALLOWANCE
12000 —
—— Ta COMPUTER
PROD_ID | PROD_NAME 7] COMPANY TYPE 4
POOT Mouse: [Logitech _ Input |
Poo2 Laser Printer Canon [Output
POOs Keyboard Logitech Input
[Poo4 | Joystick Tball Input
Pos, “Speaker Creative ‘Output
PO06 Deskjet Printer Canon Output
___ Fabie:saces
PROD_ID |Qiy_soLb QUARTER
Poo2 a 1
003 2 2
001 3 ~ 2
Poos 2 T 1
Table: STATIONARY
S_ID [ StationaryName _ | Compan
DPO1 Dot Pen ABC
PLO2 Pencil xyz
EROS Eraser XYZ
PLO Pencil CAM
GPO2 Gel Pen ABC
Table: CONSUMER
cb ConsumerName Address SID
OL Good Learner Delhi PLOL
06 Write Well Mumbai GPO2
12 Topper Delhi Dpo1_|
15 Write & Draw Delhi PLO2
16 [Motivation Bangalore PLOL‘TOYSHOP
Table:
T | Scode] Spartsname | Participants | Prizemoney | Scheduledate
e | 101 Carrom 2 5000 2012-01-23
EGE NG BE
aan 102 | Badminton 2 12000 | 2011-12-12
103 | Table Tennis 4 8000 2012-02-14
oa
lg a8 a8 BE BI 105 Chess 2 9000 | 2012-01-01
108 |Tawn Tennis | 4 75000 | 2012-03-19
a] gle
E lela 2/28 TABLE : COACH
BRSSRFSNs wl18 32
morte lai 32/3) Code[Name | Scode
WT | elealasles aul yee > Ole 1 [Raa | dor
PRIBENSS Ss | 1]
Bee Sae2eR jw 2 | Mohan | 108
F lanl algley
Ba eiRie 101
3 Bye [az] Ula 3 Sameer
ala o + ‘Shikhar | 103
w ey ee
2 a[ssislsies
HEE ee Fo Table - TEACHER
| | Tis |Name Age [Department |Date_of_join | Salary |Gender Place |
ossissssg [1 fist [34 [Computer | 10/01/2017 12000 TH Delhi
aPereeee Science |
2 Sharmila [31 [History 24/03/2008 _ [20000 Fo Raipur
[3 Sandeep 32 [Mathematics 42/12/2016 [30000 ]™ Delhi
4 [Sangeeta 35 [History | 01/07/2015 [40000 |F Chennai
5 Rakesh 742 [Mathematics (05/09/2007 | 25000 /M Delhi |
Table ; Event
Eventid | Eventname NumPerformers _ | CelebrityID
101 Birthday 10 C102 |
102 Promotion Party | 20 C103
103 Engagement 12 C102 |
104 Wedding 15 c104 |
(105 Birthday 17 cio1
Table : Celebrity
CelebrityiID | Name | Phone FeeCharged
C101 Faiz Khan 9910195610 | 200000
C102 Sanjay Kumar 8934664481 | 250000
C103 NeeraKhan Kapoor | 9811665685 | 300000
c1in4 Reena Bhatia ASR7775R45 tanannanov
eat fe
ee ~
fan pos insane
is is the sample file created for replacing file
if a line contains a that line will be shifted into new file
Btnente - C\Program Files\Python37\new tt (22 2)¢
ile Edt Format ur Options Window Help
his is the sample file created for replacing file
if a line contains a that line will be shifted into new file
vie 208
iython 3.7.) (Faqa/vi.1.Pe4ai#Fe042, Deo 94 201B, Pis08:2A) [HSC v.14T6 ef bit (AMNAM)] on wind
‘ype “help", “copyright, "credits" or "Liconge()" for muce information.
>>
RESTART: C:/Progcam Files/Python7/eeexew.py <—=——————mm=
in length 4
vords less t!
if
1s
a
he
>>
I sorynt- Crogram fhegPnns sty 872
le Edt Format Pur Options Wicton Help
ietworks of computers helps us to connect with everyone in the world
: Cz\Users\Home\AppData\Local \Programs\Python\Python36-32\5.py ===File Edit Format Run Options _waneer
an island,
No man is 2
Entire of itself, .
Every man is a piece of the continent,
A part of the main.
If a clod be washed away by the sea,
Europe is the less.
romontory were.
As well as if a P : '
As well as if a manor of thy friend's
or of thine own were:
[& books.tet - Tatsers namin AppData\Locah Programs\Python\Pythen37-3Z\books et 79)
File Edit Format Run Options Window Hep
No man is an island
Entire of itself
Every man is a piece of the continent health
A part HEALTH of the main
If a clod be washed away
Europe is the les
As well as if health a promontory were
As well as if a manor of thy friend's
or of thine own were health
by the sea health
[a Fyren 17208 — 8
fe tat She tring Cp inden Hep
python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018,
1)] on win32
Type "copyright",
>>>
= RESTART
1: Every man is a piece of the continent health
2: If a clod be washed away by the sea health
3: Or of thine own were health
04:06:47) [MSC v.1914 32 bit (Inte
"credits" or "license ()" for more information.
C:/Users/admin/AppData/Local /Programs/Python/Python37-32/simp.py =
No.of lines ending with health 3
>» |RESTART: C:/Program Files/Python37/DSDSDSD.py ===============
fenu
-+ Adct Record
}, Display Records
4. Exit
inter choice (1-3): 1
naert new record
rer ca rnumber: 02
inter carname : TOYOTA
inter mileage:13
snter Price:2400000
fenu
-+ Add Record
iL Display Records
4. Exit
Siler choles (1-3): 2
> hayota
> 323232.0
tarno--> 2
jarname--> TOYOTA
drice=-> 2400000.0
fenu
-+ Add Record
2. Display Records
4, BxiL
Ler choiee (1-3):
Brew sae
fe_for_ oes Dre Optom ame seep
Mona
1. Add Record
2. Display Records
3. Searcn a Record
+ delete @ Record
Enter choter(! 4): 1
Innert new record
knter name:
Rater actrees
knter areaccde:tp0.
er Phonmnunbere: 1212 457608
Mens
1. Add Record
2. Display Hecords
3. Bewrch a Record
4. delete a kecord
Enter choles (=a)
3
Mame to code to 20.
Record not found...
Menu
1. Add Record
2. Display Records
3. Search a Record
4. delete a Record
Enter chotes()-4)2 3
Mame to code to search: Tpot
['wajesh", ‘chennai*, ‘rpoi', 1232457683)
Record Found,
Mens
1. Add Record
2, visplay Kecords
3. Search a Record
4. delete 2 kecord
Enter choice (14):URESTHMT? Ci ye LUYLal BL Les Py CHUNS 77 USUSUSU. by
fenu
Ll. Add Record
2. Display Records
a, Sears
1. dalate a Re
F choles (4) 2 4
Lngert new record
ghter name:Rajesh
enter address :Chennas
inter areacode: pol
Enter Phonenumberr:1232457693
fenu
L. Add Record
2, Display Records
3, Search a Record
1. delete a Record
Enter chotea(=4)2 3
Jame to code to
secord net found.
4enu
L. Add Record
2. Display Records
3. Search a Record
a, delete a Record
inter cheice(1 4): 3
arch: tpoL
Jame to code to search:TpOl
['Rajesh', 'Chennsit, ‘Tpol', 1232457683)
Record Found...
fen
I. Add Record
2. Display Records
3. Search a Record
1. delete a keeerd
enter choice (1-4):
BP pn 272 et
fee fot Set Geng Optom fento Hee
[python 3.7.2 (tags/v}.7.2:Sa3£2c)452, Dec 23 2018, 23:99:28) IMEC v.1916 G4 bit (AMDEL)] on win32
[Twpe "help", copyright", *credite” or “license()" for more information.
RESTART: C:/Program F11e5/Pytnon3?/DS0S0S) py >
RESTART: C:/Program Files/Python37/DSCS0SD.py <======ssesssa=
Tep 1s now yovarsy
Deleted elenens trom stack is yuvara)
topmost element is seuray
w', 'sachin*]
>>>