Core Python Detailed Index
Core Python Detailed Index
2) Operators …………………………………………………………….....…… 32
Introduction …………………………………………………………………………… 2
Features of Python …………………………………………………………………. 4
1) Simple and Easy to Learn
2) Freeware and Open Source
3) High Level Programming Language
4) Platform Independent
5) Portability
6) Dynamically Typed
7) Both Procedure Oriented and Object Oriented
8) Interpreted
9) Extensible
10) Embedded
11) Extensive Library
Identifiers ………………………………………………………………………………………. 7
II NARESH IT, 2nd Floor, Durga Bhavani Complex, Satyam Threater Rd, Ameerpet, HYD
Telangana-500016 | Tel:+91 40 2374 6666 | Ph:+91 90009 94007 | www.nareshit.in
DATA TYPES ……………………………………………………………………………………. 10
1) int Data Type
Decimal Form
Binary Form
Octal Form
Hexa Decimal Form
2) OPERATORS ……………………………………………………………………….… 32
III NARESH IT, 2nd Floor, Durga Bhavani Complex, Satyam Threater Rd, Ameerpet, HYD
Telangana-500016 | Tel:+91 40 2374 6666 | Ph:+91 90009 94007 | www.nareshit.in
4) Logical Operators ……………………………………………………………………. 37
nd
IV NARESH IT, 2nd Floor, Durga Bhavani Complex, Satyam Threater Rd, Ameerpet, HYD
Telangana-500016 | Tel:+91 40 2374 6666 | Ph:+91 90009 94007 | www.nareshit.in
֍ Difference between del and None ……………………………………………………. 71
V NARESH IT, 2nd Floor, Durga Bhavani Complex, Satyam Threater Rd, Ameerpet, HYD
Telangana-500016 | Tel:+91 40 2374 6666 | Ph:+91 90009 94007 | www.nareshit.in
⚽ Important Programs regarding String Concept …………………………………… 87
1) Program to Reverse the given String
2) Program to Reverse Order of Words
3) Program to Reverse Internal Content of each Word
4) Program to Print Characters at Odd Position and Even Position
for the given String
5) Program to Merge Characters of 2 Strings into a Single String by
taking Characters alternatively
6) Program to Sort the Characters of the String and First Alphabet
Symbols followed by Numeric Values
7) Program for the following Requirement (Input: a4b3c2, Output:
aaaabbbcc)
8) Program to perform the following Activity (Input: a4k3b2,
Outpt: aeknbd)
9) Program to Remove Duplicate Characters from the given Input
String
10) Program to find the Number of Occurrences of each Character
present in the given String
11) Program to perform the following Task
Input: 'one two three four five six seven'
Output: 'one owt three ruof five xis seven'
VI NARESH IT, 2nd Floor, Durga Bhavani Complex, Satyam Threater Rd, Ameerpet, HYD
Telangana-500016 | Tel:+91 40 2374 6666 | Ph:+91 90009 94007 | www.nareshit.in
⚽ Important Functions of List ………………………………………………………. 104
☕ To get Information about List
len()
count()
index()
VII NARESH IT, 2nd Floor, Durga Bhavani Complex, Satyam Threater Rd, Ameerpet, HYD
Telangana-500016 | Tel:+91 40 2374 6666 | Ph:+91 90009 94007 | www.nareshit.in
6) TUPLE DATA STRUCTURE ………………………………………………….… 116
VIII NARESH IT, 2nd Floor, Durga Bhavani Complex, Satyam Threater Rd, Ameerpet, HYD
Telangana-500016 | Tel:+91 40 2374 6666 | Ph:+91 90009 94007 | www.nareshit.in
⚽ Mathematical Operations on the Set …………………………………………… 128
union()
intersection()
difference()
symmetric_difference()
IX NARESH IT, 2nd Floor, Durga Bhavani Complex, Satyam Threater Rd, Ameerpet, HYD
Telangana-500016 | Tel:+91 40 2374 6666 | Ph:+91 90009 94007 | www.nareshit.in
9) FUNCTIONS ………………………………………………………………………… 142
X NARESH IT, 2nd Floor, Durga Bhavani Complex, Satyam Threater Rd, Ameerpet, HYD
Telangana-500016 | Tel:+91 40 2374 6666 | Ph:+91 90009 94007 | www.nareshit.in
10) MODULES ……………………………………………………………………..… 162
XI NARESH IT, 2nd Floor, Durga Bhavani Complex, Satyam Threater Rd, Ameerpet, HYD
Telangana-500016 | Tel:+91 40 2374 6666 | Ph:+91 90009 94007 | www.nareshit.in