Post AP :: Starting python

Here is a link to the official python documentation:
http://docs.python.org/

It includes tutorials, HOW-TOs, and the API.

Things you need to know for Tuesday:

1. How to run a simple python program in IDLE

2. Numerical types and arithmetic

3. String types and string manipulation methods

4. How to print and concatenate strings with numerical and string variables

5. The raw_input function, and converting string input to numerical

ASSIGNMENT:

1. Write a console based version of the Bike Wattage program.  It should ask the user for their name,  how fast they want to go V(m/s) and their weight W(kg).  Remember the formula is:

Watts = 0.276 * V^3 + 0.0686 * V * W

Comments are closed.