Write a Python class, Circle, constructed by a radius and two methods which will compute the area and the perimeter of a circle. Include the constructor and other required methods to set and get class attributes. Create instances of Circle and test all the associated methods.
Write a Python class, Rectangle, constructed by length and width and a method which will compute the area of a rectangle. Include the constructor and other required methods to set and get class attributes. Also, include a methods isSquare(), which returns a Boolean value indicating if the shape is a square. Create instances of Rectangle and test all the associated methods.
Write a Python class, Printer, constructed by a string to be printed. The class has two method; (a) setString() which accepts a string from the user, and (b) printString() which prints the string in upper case or lower case, as the user chooses. Create instances of the class and test the associated methods.
From the previous assignment in Lab 2, Assignment 1, and Question 1, where a Laptop was modeled using UML class diagram, create a Python class with respective attributes and methods. Create instances of the classes designed and test all the associated methods.
Write a Python class, Person, constructed by name, surname, birthdate, address, telephone number, email. The class has methods to calculate the age of the person using his birthdate and also to display the details of a person. Create instances of the class and test the associated methods.