Worksheet-6: Outputs
Worksheet displayed
01) Output-1
Output type of
question based on
List
02) Output-2
Output type of
question based on
List. Use of if without
elif
03) Output-3
Output type of
question based on
List of strings and
concatenation of strs.
04) Shallow & Deep copy
Explains Shallow and
deep copy and also the
use of Identity operator
is. This is useful for
Output - 4
05) Output-4
Output type of
question based on
shallow and deep
copy
06) Dictionary-Insert & Modify Item
Insert and Modify Item in a
dictionary
07) Output-5
Output type of
question based on
dictionary, insert
item
08) Output-6
Output type of
question based on
dictionary, retrieve
key and value
09) Output-7
Involves dictionary
slicing operator,
retrieve keys
10) Output-8
Involves dictionary
Tuple, List
retrieve items
11) Output-9
Involves Function
Call and default
values
12) Output-10
Involves Function
Call and default
values
13) Output-11
Involves Function
Call and default
values
14) Output-12
Involves Function
Call and default
values
15) Output-13
Involves Function
Call and continue
statement
16) Output-14
Involves String
use of if...elif...else
17) Output-15
Involves String
isupper() ,
upper()
18) Output-16
Involves String
isupper() ,
upper(), isalnum()
19) Output-17
Involves String
upper() , lower()
ASCII values
20) Output-18
Involves String
upper() , split()
slicing, reverse
21) Output-19
Involves Function
call, Lists and global
variables
22) Output-20
Involves Function
call, Priority of
operators, Keyword
arguments
23) Output-21
Involves Function
call, global
variables
24) Output-22
Involves Function
call, global
variables
25) Output-23
Involves Function
call, global
variables
26) Output-24
Involves Function
call, List, range
with -ve index
27) Output-25
Involves Function
call, List, range
with -ve index
Comments
Post a Comment