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 data

  • Create a constructor to initialize name, family, salary, department con

  • Create a function to average salary avg

  • Create a Full-time Employee class and it should inherit the properties of Employee class FTE

  • Create the instances of Full-time Employee class and Employee class and call their member functions. fun

Output:

op

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 title

  • Find all the links in the page (‘a’ tag) links

  • Iterate over each tag(above) then return the link using attribute "href" using get href

Output:

op1

op3

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

numpy