Difference between revisions of "PythonOnSHIPs"

From CoolWiki
Jump to navigationJump to search
Line 8: Line 8:
 
:An introduction to the python interpreter, variables and types of data they store.  Using math functions and python as a calculator.
 
:An introduction to the python interpreter, variables and types of data they store.  Using math functions and python as a calculator.
 
:[[File:python2.pdf]]
 
:[[File:python2.pdf]]
 +
:'''Exercises''':
 +
::Evaluate the square root of 10.1*10.2 + 15.3*15.4
 +
::Create a numpy array of values from 0 to 100, incrementing in steps of 2
 +
::Create a 2-Dimensional array of values

Revision as of 22:56, 29 May 2013

Tutorial 1: Overview of Programming

Presents the basic concepts of programming for newbies.
File:Python1.pdf


Tutorial 2: Data, Variables and Math operators

An introduction to the python interpreter, variables and types of data they store. Using math functions and python as a calculator.
File:Python2.pdf
Exercises:
Evaluate the square root of 10.1*10.2 + 15.3*15.4
Create a numpy array of values from 0 to 100, incrementing in steps of 2
Create a 2-Dimensional array of values