Hi all,
I would like to ask, why the below code is valid,
I would like to ask, why the below code is valid,
def place_value(number): return ("{:,.2f}".format(number)) print(place_value(1000000.006))But below code is not valid?
def place_value(number): return ("{:,8.2f}".format(number)) print(place_value(1000000.006))Thanks!