the append function if you want to just add one more thing to that listyou can use the bqqfoe function so just want to stick the number at the endthere we goybqqfoe the output of the above code is as followscomplex data structures you can also have complex data structures with lists so you don' have to just put numbers in ityou can actually put strings in it you can put numbers in it you can put other lists in it it doesn' matter python is weakly-typed languageso you can pretty much put whatever kind of data you wantwherever you wantand it will generally be an ok thing to doz mjtu -jtut mjtu -jtut in the preceding examplei have second list that contains that ' calling 'll create new list that contains two lists how' that for mind blowingour mjtupg-jtut list will contain the list and the listand that' perfectly valid thing to do you can see here that we have bracket indicating the mjtupg-jtut listand within thatwe have another set of brackets indicating each individual list that is in that listsosometimes things like these will come in handy dereferencing single element if you want to dereference single element of the list you can just use the bracket like thatz the output of the above code is as follows