types None bool (either True or False) int e.g. 10 float e.g. 10.0 string e.g. 'hello' collections list [] tuple () dict {} a list is a list of things which can be changed and the list can be extended, or items removed list_one = [1,2,3,4,5] the items in the list can be of any types list_two = ['hello', 2, 3.1.4] there is a nifty shorthand for creating a list list_three = [ x for x in range(1,21,1)] a tuple is a like a list but it can not be changed a dict (dictionary) is a collection of key,value pairs d = {} d['Alex'] = 18 d['Samuel'] = 16 operators + - * / ** (exponentiation) % (modulus) comparision statments if : elif : else: for e.g. for i in range(1,11,1): print(i) for c in 'hello': print(c) while statements e.g. i = 1 while i <= 10: print(i) i = i + 1 on the web https://www.stavros.io/tutorials/python/ learn python in 10 minutes http://www.korokithakis.net/tutorials/python/ https://docs.python.org/3/ _________________________________ import matplotlib.pyplot x = range(1,10) matplotlib.pyplot.plot(x,x) matplotlib.pyplot.show() y = [xe ** 2 for xe in x] matplotlib.pyplot.plot(x,y) matplotlib.pyplot.show() _____________________________________