Professional Documents
Culture Documents
Assignment 1
Assignment 1
Engineering College
Department of Computer Engineering
Assignment – 1
AY. 2023-24 (ODD)
Semester: 5
Subject: Python for Data Science
Subject Code: 3150713
Sr.
Question/Task Marks CO CL
No.
1. Write a Python program to get a string made of 4 CO1 AP
the first 2 and the last 2 chars from a given a
string. If the string length is less than 2, return
instead of the empty string.
Input Format
Output Format
1
Sample Input
3
15
10 3
34
Sample Output
1
3. How are NumPy and SciPy related? 3 CO2 U
4. Does python call by reference or call by value? 3 U
CO1
Give the example.
5. How rapid development possible in data science 3 U
CO2
application using python?