Odpowiedź w 6 Pythonie po przecinku

print("{:.6f}".format(variable_name))
Curious Cod