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 covers the same topics. Teachers may want to edit the presentation to match their own specific needs before using it in a lesson. The information sheet could be stored on the network as a reference resource, printed out and turned into posters, or printed out, laminated and used as "mouse mat" style resources.
Show health and safety information
Please be aware that resources have been published on the website in the form that they were originally supplied. This means that procedures reflect general practice and standards applicable at the time resources were produced and cannot be assumed to be acceptable today. Website users are fully responsible for ensuring that any activity, including practical work, which they carry out is in accordance with current regulations related to health and safety and that an appropriate risk assessment has been carried out.