scale the decimal to 1 in python code example
Example 1: give answer in 6 decimal python
print("{:.6f}".format(variable_name))
Example 2: w=how to tell if decimal in python
i = 100
f = 1.23
print(type(i))
print(type(f))
# <class 'int'>
# <class 'float'>