Fork me on GitHub

Other articles


  1. Map Function in Python

    Today I discovered the map function in Python. Map causes some simple for loops to be verbose and unnecessary. Let's look at how to change a list of integers to a list of strings. First we'll use a for loop:

    >>> list = [1, 2, 3, 4, 5]
    >>> index = 0
    >>> for x …
    read more
  2. Math With Python

    If this is your first time using Python in Windows, you will have to download it from python.org. Every operating system includes a terminal, which we will be using to practice and test. Google "How to open terminal" and your operating system name to find specific information about opening …

    read more

links

social