ICP3 - PavankumarManchala/Python-and-Deep-Learning-Programming-ICPs GitHub Wiki

Submitted by:

Pavankumar Manchala Class Id: 22

Technologies used:

PyCharm

Tasks:

  1. Create a class Employee and then do the following. a)Create a data member to count the number of Employees. b)Create a constructor to initialize name, family, salary, department. c)Create a function to average salary. d)Create a Fulltime Employeeclass and it should inherit the properties of Employee class. e)Create the instances of Fulltime Employeeclass and Employee class and call their member functions.

Output:

  1. Write a simple program that parse a Wiki page mentioned below and follow the instructions: https://en.wikipedia.org/wiki/Deep_learning. a) Print out the title of the page. b) Find all the links in the page (‘a’ tag). c) Iterate over each tag(above) then return the link using attribute "href" using get

Output:

  1. 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.

Output: