Transcription of Python Basics - Loyola University Chicago
{{id}} {{{paragraph}}}
Python DotyAugust 27, 2008 Contents1 What is Python ? .. Installation and documentation .. 42 Getting Running Python as a calculator .. Quitting the interpreter .. Loading commands from the library .. Defining functions .. Files .. Testing code .. Scripts .. 813 Python Comments .. Numbers and other data types .. Thetypefunction .. Strings .. Lists and tuples .. Therangefunction .. Boolean values .. Expressions .. Operators .. Variables and assignment .. Decisions .. Loops .. loops .. ,continue, andpass.. Lists .. Length of a list; empty list .. Sublists (slicing) .. Joining two lists .. List methods .. Strings .. 192 What is Python ? Python is a powerful modern computer programming bears some similarities toFortran, one of the earliest programming languages, but it is much more powerful than allows you to use variables without declaring them ( , it determines types implicitly),and it relies on indentation as a control structure.
Python is a good choice for mathematical calculations, since we can write code quickly, test it easily, and its syntax is similar to the way mathematical ideas are expressed in the mathematical literature.
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}
Primer on Scientific Programming with Python, Examples, Python, Basic, A Comparison of the Syntax of Python, Praise for Effective Python, Basic Python, Basic Python by examples, Python in labeling and field calculations, Basic Plotting with Python and Matplotlib, 2: Basic Ladder Logic Programming, 3 Pseudocode, Flowcharts and Python