Filters

Clear all
Find a publisher

Showing 1000 results

Show
results per page

This article includes all the code needed to make a simple game which captures keyboard events and uses multimedia. It uses the Pygame library, and includes graphics control and basic collision detection.

The activity is suitable as an introduction to programming with Python, or as a fully working program...

This series of three lessons introduces Python programming to students in secondary school. The lesson objectives include:

  • Creating simple code including the input and print scripts
  • Using "If statements" to make a decision
  • Using the random function in programs

Detailed...

This cheat sheet provides guidance to inexperienced Python programmers. It covers several of the most-used functions, operations and data types including:

• User interaction
• Boolean logic
• String handling and manipulation
• Assigning and using variables
• Loops
• Using simple...

This resource is a comprehensive beginner’s guide to creating procedural programs using Python 3. It would be suitable for self-paced learning and independent work. There are also activities that are suitable as homework tasks that reiterate key terms and concepts. It was originally developed for the pre-2015...

This handy guide sheet shows how the format () method can be used in a variety of situations: • Inserting values into strings, • Formatting layout and alignment, • Displaying numbers with specific formats A print-out-and-keep quick guide shows all the options available when using the format ‘mini-language’.

For students with some prior experience of using simple For and While loops, this intermediate-level resource explores how they can be used for more complex coding while maintaining efficiency.

Exercises include arithmetic applications of While loops, and development of simple For loops to be usable in more...

This intermediate-level resource for those learning to program with Python 3.x looks at conditional statements including ELSE and ELIF. The use of arithmetic and logical operators is covered, along with tricks and tips for more efficient and fault-free code.

An explanation of how different data values and...

This intermediate-level resource for those learning to program with Python 3.x looks at lists (called arrays in other languages), strings and tuples. It covers the main features of these sequences, including the differences between them, how the elements of each are referenced, and some of the functions and...

The aim of this workbook, written by Ali Mulla, is to provide a simple introduction for students to programming in the language Python. The book contains examples, tasks for students to complete and space for students to write their observations and answers to questions posed. The topics covered are: dealing with...

A series of practical programming resources that quickly extend Python programming skills. Most of the exercises are designed to run on the Raspberry Pi computer.

This booklet consists of 16 introductory programming challenges, some of the challenges also provide further extension challenges, for every challenge there is a "Self Review" section which asks students to comment on whether they managed to complete the task successfully, whether they had any errors initially and...

This series of resources supports the teaching and learning of the computer programming language Python. The series of activities, produced by Code Club have support sheets for each of the activity projects. They are easy to follow and support progression in the learning. The activities require studenst to: *...

This resource consists of an information sheet detailing various methods for validating user input in Python, these come in the form of a table consisting of some code in one column and an overview of what the corresponding code does. There is an associated zip file with code examples in it and a presentation which...

Databases are a fundamental part of modern organisations. This resource consists of an activity sheet, answer sheet and a highly usable utility for using SQLite with Python. The activities enable students to produce implement what they have learned from the theoretical content.

 

Pages