форматирование до шести цифр в Python
print("{:.6f}".format(your value here));
Stockholm
print("{:.6f}".format(your value here));