Each resource contains a handy revision summary that could be printed for students are used as part of a NEA resource bank. There are also a number of python files with problems that need fixing. Each file contains instructions about the problem. Here is a summary of the topics within this bundle.
Basic Python: -
Arithmetic operations: -
basic maths, division (real, whole and modular, maths functions, using the math library.
String handling: -
Length and position
Converting to and from character codes (ASCII)
String conversion operations (e.g. string to integer, string to real...)
IF statements and 'Nested' IF: -
‘if’, ‘elif’, ‘else’, relational operators and indentation.
FOR Loops: -
the basics and is extended to include more complex code using IF statements with the FOR loop.
While Loops: -
Includes the basics and extended to cover more complex use of if statements within the while loop.
Random numbers: -
Using random with IF statements and loops.
Creating lists, Index and length, Slicing, Append/Insert, Remove/Pop, Sort, Using lists with 'if' and 'for'.
Arrays (one-dimensional): -
Creating arrays ('i', 'l','f'), Index, Append/Insert, Remove/Pop, Sort/Reverse, Count, Extend