If you observe the variables debut and fin they are float, not an integer. Since taille is float. You need to change the variables into an integer.
item = plateau[int(debut):int(fin)]
Or you can change taille into an integer.
taille = int(sqrt(len(plateau)))
If you want to know more about the Data Science then do check out the following Data Science which will help you in understanding Data Science from scratch