to calculate the levelwe use the int(function to round down the score divided by so if the score any number between and the int(call will round it down to the part of the code is there because we want the first level to be level not level when the score reaches then int( will evaluate to and the will make the level here is graph showing the values of level for the scores to level int(score level score to calculate the falling frequencywe start with base time of (meaning that the piece will naturally fall once every secondsthen we multiply the level by and subtract that from the base time so on level we subtract (that is from to get on level we subtract (that is to get you can think of the level part of the equation as --for every levelthe piece will fall seconds faster than the previous level |we can also make graph showing how fast the pieces will fall at each level of the gameemail questions to the authoral@inventwithpython com