""" This was not covered in lecture 30/8, but it is simpler than the others so left as self-study. """ #make a list of primes primes = [2,3,5,7,11,13] #traverse the list and print each elm: for n in primes: print(n) #create a new variable and append to list p = 17 primes.append(p) #print the new list print(primes) """ Terminal>python primes.py 2 3 5 7 11 13 [2, 3, 5, 7, 11, 13, 17] """