Elements of Python programming: Difference between revisions

From AstroEdWiki
Jump to navigation Jump to search
(Created page with "Now that you have Python running, and have seen how it works interactively and with executable files let's see what we can do with simple useful programming. == Input and ...")
 
No edit summary
Line 21: Line 21:
== Examples ==
== Examples ==


For examples of Python illustrating input, output, data types, lists, and dictionaries, see the section Python [http://prancer.physics.louisville.edu/astrowiki/index.php/Python_examples examples].  
For examples of Python illustrating input, output, data types, lists, and dictionaries, see the [http://prancer.physics.louisville.edu/astrowiki/index.php/Python_examples examples] section.  




== Assignments ==
== Assignments ==


For the assigned homework to use these ideas,  see the section Python [http://prancer.physics.louisville.edu/astrowiki/index.php/Python_assignments assignments].
For the assigned homework to use these ideas,  see the [http://prancer.physics.louisville.edu/astrowiki/index.php/Python_assignments assignments] section.

Revision as of 22:51, 11 February 2013

Now that you have Python running, and have seen how it works interactively and with executable files let's see what we can do with simple useful programming.


Input and output

Numbers, text, and data types

Lists, tubles, dictionaries, and statements

Mathematics

Examples

For examples of Python illustrating input, output, data types, lists, and dictionaries, see the examples section.


Assignments

For the assigned homework to use these ideas, see the assignments section.