This dictionary aims to keeps illustrations simple with as little complex maths as possible.
Python Version 3
Contributors
Python dictionary for students was started by Mr Bagge who is teaching a strand of Computing at St Marks in SouthamptonÂ
Get Involved
Are you a pupil at St Marks who wants to add your own example. Email it to Mr Bagge
Overview
Need to repeat code use for i in range() or while.
If you need to print things to the screen use print.
Do you want your program user to input information into the program?
If your program has different paths that it can follow use if else or if elif else.
If you want your program to open a browser see webbrowser.
If you want to store or group information list is for you.
Add a random element to so many programs.
Pause a program with time.
Play a Windows system sound or a wave file with winsound.
End a program in the middle of the script with exit.
Draw things in a window with turtle.
Organise your work with functions
Animate shapes on a window with tkinter