Tag: python

Python – Customize Truth Value testing

We have discussed about Truth Value testing in our previous Articles “Python – Truth Value Testing” and “Python – Truth Value Testing for Class objects“....

Python – Exception handling

Python provides exception handling mechanism to handle the Exceptions when something went wrong in the Program. Python interpreter reads the code and throws an Exception...

Python – Numeric Types – int Class

Numeric Types in Python are used to deal with numeric values. Python provides different classes to deal with numeric data; int, float, complex fractions and...

Python – Truth Value Testing

Truth value testing verify whether the value is True or False. In Python, any object can be tested for Truth Value. What really the Truth...

Python – Sequence Types – Slicing

So far we have discussed the Sequence Types; list, tuple, range, str, bytes, bytearray and memoryview in Python. We have discussed creation of these types and...