When we call ``start_simulation``, we tell Flower that there are 10 clients (``num_clients=10``). Flower then goes ahead an asks the ``FedAvg`` strategy to select clients. ``FedAvg`` knows that it should select 100% of the available clients (``fraction_fit=1.0``), so it goes ahead and selects 10 random clients (i.e., 100% of 10).
Lorsque nous appelons ``start_simulation``, nous disons à Flower qu'il y a 10 clients (``num_clients=10``). Flower demande alors à la stratégie ``FedAvg`` de sélectionner des clients. ``FedAvg` sait qu'il doit sélectionner 100% des clients disponibles (``fraction_fit=1.0``), alors il choisit 10 clients au hasard (c'est à dire 100% de 10).