Python:Tutorials

From Progzoo
Revision as of 17:51, 12 July 2017 by Andr3w (Talk | contribs) (Accumulating)

Jump to: navigation, search

A step by step guide to programming. Each set of tutorials provides tasks for the student to complete.

Drawing

Python:Flags Tutorial: Practice using graphics commands to draw the flags of different countries.

These examples provide students with the opportunity to become familiar with the basic features of the language. Each task can be completed using a sequence of commands. It is hoped that students will become familiar with the basics of the language: the use of brackets, commas, quotes and semi-colons.

If

Functions

Strings

Use string functions to test a list of Greek names

Boxes

Create patterns on a grid. This exercise uses integer functions and operators.

for

You can use the for loop to make a section of code repeat many times.

Bricks

Practice for loops. In these problems you use bricks to build walls.

Accumulating

DOM Tutorial

Parse and process XML files using the standard DOM interface.