Tag Archives: python

Abstract data type in python

Abstract data type in python     Abstraction is one of the most powerful ideas in computer science. It separates the what from the how. Abstraction provides modularity. Classes are the Python represented: on for “Abstract Data Types,” (ADT) a very useful no: on in any programming language An ADT involves both data and operations… Read More »

assertion in python || python assert examples || python assert multiple conditions

Assertion in python :  Python has inbuilt assert statement to use assertion condition within the program. assert statement contains a condition or expression that is meant to be continuously true. If the condition is fake assert halts the program and provides associate degree AssertionError. Assertions area unit statements that assert or state a reality with… Read More »