missing whitespace after ':'
120 return i
121 return n
122
123def to_exponential(n, decimals_num:int=2) -> str:124 b = decimal.Decimal(str(decimal.Decimal(str(n)).copy_abs()))
125 j = decimal.Decimal(math.floor(math.floor(b.log10())/3))
126 h = round(decimal.Decimal(str(n))/10**(j*3), decimals_num)
missing whitespace after ':'
5import itertools
6from functools import reduce
7
8def distance(points:list): 9 """
10 Checks the distance between two points on a graph
11 Parameters:
Description
There should be whitespace after the characters ,
, ;
, and :
.