ICP3 - SaranAkkiraju/Python_and_Deep_Learning_Programming_ICP GitHub Wiki
Program 1
Objectives
Create a class Employee and then do the following
-
Create a data member to count the number of Employees
-
Create a constructor to initialize name, family, salary, department
-
Create a function to average salary
-
Create a Full-time Employee class and it should inherit the properties of Employee class
-
Create the instances of Full-time Employee class and Employee class and call their member functions.
Output:
Program 2 - Web scraping
Objectives
Write a simple program that parse a Wiki page mentioned below and follow the instructions:https://en.wikipedia.org/wiki/Deep_learning
-
Print out the title of the page
-
Find all the links in the page (‘a’ tag)
-
Iterate over each tag(above) then return the link using attribute "href" using get
Output:
Program-3 Numpy
Objectives
- Using NumPy create random vector of size 15 having only Integers in the range 1-20.
- Write a program to replace the maximum value in the vector by 0