-
Notifications
You must be signed in to change notification settings - Fork 0
ICP3
PavankumarManchala edited this page Jun 11, 2019
·
1 revision
Pavankumar Manchala Class Id: 22
PyCharm
- 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:
- 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:
- 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: