What are functions?
Aug 10,97Functions in Python are named blocks of code that are used in large programs to separate code into manageable chunks. …
Read MoreMake a list of lines from a file
Aug 10,97It is possible to the place a lines in a file in a list, with each line representing a single …
Read MoreRead a file
Aug 10,97To read a file we’ve created in the previous lesson, we need to create a file object, but this time …
Read MoreHow to read and write files
Aug 10,97Reading and writing files in Python is really easy since you don’t need to import a library – everything needed …
Read MoreLooping over a tuple
Aug 9,97Just like with lists, to loop through each item in a tuple, the for loop can be used: names = …
Read MoreWhat are tuples?
Aug 9,97Tuples in Python are similar to lists in a way that they are used to store a set of elements …
Read More