Showing results for "Python"

Showing 69 results

Show
results per page

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...

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 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...

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...

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 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...

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...

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.

 

This poster is designed as a quick recall resource for students learning to code using the computer programming language Python. The topics covered are the definitions of variables and constants, Boolean operators, conditional statements, comparison operators, ‘for’ loops, ‘while’ loops, strings and arithmetic...

A series of five lesson plans aimed at students with no knowledge of Python. In the description it is stated that depending on the students' level of ability these might be adapted to take up to eight lessons. The resource contains some discussion about how and why one might want to start using Python as their...

This introductory article shows working examples of basic Python programs. It includes:

• Printing to the screen
• Comments
• Simple arithmetic
• Using variables
• Strings and string arrays
• For and While loops
• Random numbers from the Random library
• Creating a...

Python is a freely available programming language. This resource contains six sections:

The first section, Getting started, begins with a simple description of how to download and install a Python compiler onto a computer. The screenshots in the resource use a compiler called IDLE. There...

This resource is a detailed guide to Pygame. Pygame is an open source library that allows students to make graphical computer games and multimedia applications in the Python programming language. The book is suitable for students aged 14 – 18 years, Ideally, students should already have been taught the basics of...

Pages