CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

Python

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 Value is? True is the Truth value. But non boolean values doesn’t have true or false values. For example, numbers do not have true or false value. They are simply […]

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 accessing data from them. We have used index operator to access the data from the Sequence Types. By using index operator we can access ONLY one element at the given […]

Scroll to top