Difference between revisions of "Python:Tutorials"

From Progzoo
Jump to: navigation, search
(Accumulating)
 
Line 20: Line 20:
 
{{Numeric Functions Tutorial}}Practice using number functions and operators.</div>
 
{{Numeric Functions Tutorial}}Practice using number functions and operators.</div>
 
<div style='clear:both'> </div>
 
<div style='clear:both'> </div>
 +
 +
==Accumulating==
 +
<div class='tutdesc'>
 +
{{Accumulator Tutorial}}Create and accumulating variable and use it to sum, count and more.
 +
<div style='clear:both'> </div>
 +
</div>
  
 
==Strings==
 
==Strings==
Line 42: Line 48:
 
</div>
 
</div>
 
<div style='clear:both'> </div>
 
<div style='clear:both'> </div>
==Accumulating==
 
<div class='tutdesc'>
 
{{Accumulator Tutorial}}Create and accumulating variable and use it to sum, count and more.
 
<div style='clear:both'> </div>
 
</div>
 
  
 
==DOM Tutorial==
 
==DOM Tutorial==
 
{{DOM Tutorial}}Parse and process XML files using the standard DOM interface.
 
{{DOM Tutorial}}Parse and process XML files using the standard DOM interface.
 
<div style='clear:both'> </div>
 
<div style='clear:both'> </div>

Latest revision as of 17:52, 12 July 2017

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

Accumulating

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.

DOM Tutorial

Parse and process XML files using the standard DOM interface.