Tag Archives: Python

Python: Data structures

Python has a number of in-built data structures. Two of the most common structures are lists and dictionaries. In Python, a list is a sequence of values and is constructed with square brackets, e.g. [1, 5, ‘abc’, 34.8]. The values in a list can be numbers or strings. A dictionary is a sequence of keys associated with values and is

Read more

Python lessons: introduction

Python is a versatile, open source programming language for scientific computing and general-purpose programming. Some advantages that Python offers over other programming languages are (1) the syntax is relatively simple and readable, (2) Python handles numeric, text and other forms of data very well, (3) many libraries for scientific computing are available, and (4) there is a large and active

Read more
Recent Entries »