Apr 27Abstract class and abstract method In PythonAbstract class and abstract method. Abstract class can not be an instantiation.Abstract Class And Method2 min readAbstract class and abstract method In PythonPhoto by Anete Lūsiņa on UnsplashAbstract class and abstract method. Abstract class can not be an instantiation.----
Apr 18Access Modifier: Public, Private, Protected In PythonProgram using private variable.Access Modifiers3 min read
Apr 18Python Inheritance and polymorphismInheritance and polymorphism is considered as very significant topic in python. If you want to be expert in python, you have to learn them. Inheritance It is permitted in python to build a class derived from one or more other classes. This class is referred to as child class or subclass. The…Python Inheritance4 min read
Apr 18Python Object Oriented ProgramingPython is not only a procedural-oriented programming language but also an object oriented programming language. Procedural oriented programing (POP) procedural oriented programming language is referred to as the sequence of command wherein each instruction guides the computer to perform specific task. In this case the center of attention is procedure (function) and…Python Oop5 min read
Apr 17Python File HandlingWhat could be a file? File is referred to as specific area on disk. We can use it to store concerned data. Using file we can put data forever in a hard disk type non-volatile memory. When we turn off our computer, RAM loses its data. To solve this problem we use…Python File7 min read
Apr 17Python Functions ExerciseSimple problem solving using function Define an empty list then fill it taking the input from user and search the even numbers from that list.Python Functions Exercise6 min read
Apr 17Python FunctionFunction can be defined as a block of code. It is considered as especially common block. It will be executed when it is called. Data can be passed into function which is known as parameter. We can get data as a result using function. It has a specific name and…What Is Functions4 min read
Apr 16Python Dictionary ComprehensionWe can use dictionary comprehension to build a new dictionary because dictionary comprehension is considered as an efficient and brief process to do it. It makes code short but logic remains unchanged. We can get more pythonic code using it. It is an alternative to for loops and lambda functions. It…Dict Comprehensions10 min read
Apr 16Python Set ComprehensionThere is a similarity between list comprehension and set comprehension but a variation between them is that , curly braces {} is used in the case of set comprehension. On the other hand list comprehension uses parenthesis []. Several examples are shown below to explain set comprehension. …Set Comprehensions5 min read