3 examples to learn Python While loop

Quick Reach 1 The While loop of Python 2 Syntax of While loop 3 Examples of using while loop 3.1 A While loop example 3.2 Example of while loop Python with multiple statements 3.3 Using else with While loop The While loop of Python A while loop in Python keeps […]

13 Examples to Learn Python datetime module in 30 Minutes

Quick Reach 1 Python datetime module 2 We have Video of this tutorial 3 Python date and time formatting examples 3.1 An example of  current time and date 3.2 Getting current day example 3.3 Getting current month number example 3.4 Getting current month name with full month name 3.5 Getting […]

Python string contains: 3 examples to use find method

Quick Reach 1 Python String find method 1.1 How to use the find() method 2 Python String find method example 2.1 What if the search term is not found? 2.2 Check whether string contains: with start and end number 3 Related Python String find method Python provides the find() method to search in a […]

3 Examples of How to use Python String Split method

Quick Reach 1 Python String Split method 1.1 How to use the Split method? 2 Split string method example 2.1 String split with number parameter example 3 Iterating over broken strings 4 Related Python String Split method The Python split method breaks the given string. The given string breaks from the […]

Python list append – How to add elements to list in Python

Quick Reach 1 Python list append method 2 Examples of using append method 3 Python extend method 4 Related Python list append method The append method of Python adds or appends an element to the existing list. Syntax of append method List_name.append(object/element) Where object/element is the one to be appended […]