f=open(file,'rb')#rb : Opens the file as read-only in binary format and starts reading from the beginning of the file.
foriinrange(10):#range() function. To loop through a set of code a specified number of times, we can use the range() function, The range() function returns a sequence of numbers, starting from 0 by default, and increments by 1 (by default), and ends at a specified number.