Introduction to problem solving with applications by James Tam Return to the course web page

Programming Part II: Variables, user input, parallel execution, functions and methods

Program description

Download

Example 3: Variables

Variables

Example 4: Local vs. World variables, converting to strings

Variables, string conversion

Example 5: Captioning output (applying ‘join’), getting user input

User input

Example 6: Defining and calling your own custom methods
Custom methods

Example 7: Parameter passing (information passed into methods)

Parameters

Example 8: Making instructions occur at the same time

Do-together