-
Notifications
You must be signed in to change notification settings - Fork 2
Lab_2 Wiki
The Lab 2 mainly focuses on the object-oriented programming of the python language and also the implementation of the numpy package.
The Task 1 is to write a python program that accepts a sentence as input and remove the duplicate words. And later Sort them alphanumerically and print it.
Here is the Screenshot of the Code:

Here is the Screenshot of the Result:

The Task 2 is to write a python program to generate a dictionary that contains (k, k*k) and print the dictionary generated and the series should include both 1 and k.
Here is the Screenshot of the Code:

Here is the Screenshot of the Result:

The Task 3 is to create a Student enrollment system using the object-oriented python programming.
Here are the Screenshots of the Code:



Here are the Screenshots of the Result:


The Task 4 is to create a random vector of size 15 and replace the maximum value by 100 using numpy.
Here is the Screenshot of the Code:

Here is the Screenshot of the Result:
