Category: Behat: Behavior Driven Development (BDD) with PHP Training Course

  • Python Arrays

    An array is defined as a collection of items that are stored at contiguous memory locations. It is a container which can hold a fixed number of items, and these items should be of the same type. An array is popular in most programming languages like C/C++, JavaScript, etc. Array is an idea of storing […]

    Read More

  • Python IDEs

    IDE stands for Integrated Development Environment is defined as a coding tool that helps to automate the process of editing, compiling, testing, etc. in an SDLC and it provides ease to the developer to run, write and debug the code. It is specially designed for software development that consists of several tools which is used […]

    Read More

  • Python sys module

    The python sys module provides functions and variables which are used to manipulate different parts of the Python Runtime Environment. It lets us access system-specific parameters and functions. import sys First, we have to import the sys module in our program before running any functions. sys.modules This function provides the name of the existing python […]

    Read More

  • Python statistics module

    Python statistics module provides the functions to mathematical statistics of numeric data. There are some popular statistical functions defined in this module. mean() function The mean() function is used to calculate the arithmetic mean of the numbers in the list. Example import statistics # list of positive integer numbers  datasets = [5, 2, 7, 4, 2, 6, 8] x = statistics.mean(datasets) # Printing the mean  print(“Mean is :”, x) Output: Mean is : 4.857142857142857 median() function The […]

    Read More

  • Python Random module

    The Python Random module is a built-in module for generating random integers in Python. These are sort of fake random numbers which do not possess true randomness. We can therefore use this module to generate random numbers, display a random item for a list or string, and so on. Generate Random Floats The random.random() function […]

    Read More

  • Python OS Module

    Python OS module provides the facility to establish the interaction between the user and the operating system. It offers many useful OS functions that are used to perform OS-based tasks and get related information about operating system. The OS comes under Python’s standard utility modules. This module offers a portable way of using operating system […]

    Read More

  • Python Math Module

    Mathematical calculations may occasionally be required when dealing with certain fiscal or rigorous scientific tasks. Python has a math module that can handle these complex calculations. Both simple mathematical calculations like addition (+), and subtraction (-), and advanced mathematical calculations like trigonometric operations, and logarithmic operations can be performed by the functions in the math […]

    Read More

  • Python Collection Module

    The Python collection module is defined as a container that is used to store collections of data, for example – list, dict, set, and tuple, etc. It was introduced to improve the functionalities of the built-in collection containers. Python collection module was first introduced in its 2.4 release. There are different types of collection modules […]

    Read More

  • Python List Comprehension

    Python is known for helping us produce code that is elegant, simple to write, and reads almost as well as plain English. List comprehension is one of the language’s most distinguishing features, allowing us to develop sophisticated functionality with just one line of code. On the other hand, many Python writers struggle to fully utilize […]

    Read More

  • Python Assert Keyword

    Python assert keyword is defined as a debugging tool that tests a condition. The Assertions are mainly the assumption that asserts or state a fact confidently in the program. For example, while writing a division function, the divisor should not be zero, and you assert that the divisor is not equal to zero. It is […]

    Read More