How to solve not in base 10 in python when using decimals code example
Example 1: fixed precision float python
x = 13.949999999999999999
g = float("{:.2f}".format(x))
Example 2: give answer in 6 decimal python
print("{:.6f}".format(variable_name))
Example 3: How to solve not in base 10 in python when using decimals
Example = float(input("Question?"))
Example_2 = float(input("Question2?"))
Awnser_1 = float(Example) * float(Example_2)
print = Awnser_1