Feb-25-2022, 03:10 PM
Do you need to put the f in front of each variable?
resultat.insert(INSERT, f'{str(n):.0f}' + '\t' + f'{carres:.0f}' + '\t' + f'{cubes:.0f}' + '\n'')
resultat.insert(INSERT, f'{str(n):.0f}' + '\t' + f'{carres:.0f}' + '\t' + f'{cubes:.0f}' + '\n'')