Dictionary
01) Introduction: Dictionary
What is Dictionary?
E.g. of Dictionary
Creating Dictionary
String,List,Tuple,Dict.
02) Intro-Program
Features of Dictionary
Pretty Printing
Inserting new item
Dictionary mutable
Display keys of a dictionary
Display all the values
03) Insert/Modify item
Inserting item
Modify item
04) get()
get() associated with
Dictionary
PROGRAM-2
05) Program-2
Part 1 of 5
Page 46, Question 4
Display items
Search for an item
Delete an item
Count no. of items
06) Program-2
Part 2 of 5
Page 46, Question 4
Display items
Search for an item
Delete an item
Count no. of items
07) Program-2
Part 3 of 5
Page 46, Question 4
Display items
Search for an item
Delete an item
Count no. of items
08) Program-2
Part 4 of 5
Page 46, Question 4
Display items
Search for an item
Delete an item
Count no. of items
09) Program-2
Part 5 of 5
Page 46, Question 4
Display items
Search for an item
Delete an item
Count no. of items
PROGRAM-3
10) Program-3
Part 1 of 6
Page 45, Question 1
Value is a list
Calculation based on
dictionary (win %)
11) Program-3
Part 2 of 6
Page 45, Question 1
Value is a list
Calculation based on
dictionary (win %)
12) Program-3
Part 3 of 6
Page 45, Question 1
Value is a list
Calculation based on
dictionary (win %)
13) Program-3
Part 4 of 6
Page 45, Question 1
Value is a list
Calculation based on
dictionary (win %)
14) Program-3
Part 5 of 6
Page 45, Question 1
Value is a list
Calculation based on
dictionary (win %)
15) Program-3
Part 6 of 6
Page 45, Question 1
Value is a list
Calculation based on
dictionary (win %)
16) get()
Required for the
next program
PROGRAM-4
17) Program-4
Function explainedPage 46, Question 2
Frequency of characters
in a string
Comments
Post a Comment