00:01 0
  • case, grains = 1, 1
  • return grains
  • def jeu_echec (n):
  • case, grains = case+1, grains*2
  • while case <= n-1 :