Answer Submitted.
([Link] ([Link]
[Link]@[Link]
NPTEL ([Link] » Python for Data Science (course)
Click to register for
Certification exam
Week 2 : Practice Assignment 2
([Link]
If already Assignment not submitted
registered, click to
Note : This assignment is only for practice purpose and it will not be counted towards the Final score
check your
payment status 1) Variable ‘a’ is defined as 1 point
a = ‘gOOd moRning’
Command to convert ‘a’ from ‘gOOd moRning’ to ‘Good Morning’ is:-
Course outline [Link]( )
[Link]( )
About NPTEL () [Link]( )
[Link]( )
How does an
NPTEL online Yes, the answer is correct.
Score: 1
course work? ()
Accepted Answers:
[Link]( )
Week 0 ()
2) Create a list called “Stationery” with the below data 1 point
Week 1 ()
Product = ['Pencil', 'Pen', 'Eraser', 'Pencil Box', 'Scale']
Week 2 ()
Price= [5, 10, 2, 20, 12]
Jupyter setup Brand = ['Camlin', 'Rotomac', 'Nataraj', 'Camel', 'Apsara']
(unit? Stationery = [Product, Price, Brand]
unit=30&lesson=3
1) The command to add “Notebook” as the first element inside the first level of the list “Stationery” is:-
Sequence_data_
Stationery[0].append('Notebook')
part_1 (unit?
unit=30&lesson=3 Stationery[0].insert(0,'Notebook')
2) Stationery[0][1] = "Notebook"
Sequence_data_ Stationery[0].extend('Notebook')
part_2 (unit?
Y h i
unit=30&lesson=3 Yes, the answer is correct.
3) Score: 1
Accepted Answers:
Sequence_data_ Stationery[0].insert(0,'Notebook')
part_3 (unit?
unit=30&lesson=3 3) The method to clear all the elements from a Set is:- 1 point
4)
remove( )
Sequence_data_
discard( )
part_4 (unit?
unit=30&lesson=3 clear( )
5) delete()
Numpy (unit? Yes, the answer is correct.
unit=30&lesson=3 Score: 1
6) Accepted Answers:
clear( )
Week 2 : Lecture
slides (unit?
4) Consider the list, 1 point
unit=30&lesson=3
7)
Mylist =[‘a’, ‘a’, ‘b’, ‘b’, ‘b’, ‘c’, ‘c’, ‘d’, ‘e’]
Week 2 - FAQs
(unit?
The output of the code: [Link](‘d’) is
unit=30&lesson=3
8)
7
Week 2 Feedback 8
Form : Python for
4
Data Science!!
(unit? 6
unit=30&lesson=1 Yes, the answer is correct.
14) Score: 1
Accepted Answers:
Quiz: Week 2 :
7
Assignment 2
(assessment?
name=183) 5) Which of the following python sequence data type is immutable? 1 point
Practice: Week 2 list
: Practice
dictionary
Assignment 2
(assessment? tuple
name=184) array
Week 3 () Yes, the answer is correct.
Score: 1
Accepted Answers:
Week 4 ()
tuple
Supporting Check Answers and Submit
material for
Week 4 () Your score is: 5/5
Download
Videos ()
Books ()
Text
Transcripts ()
Problem
Solving
Session - Jan
2026 ()