— Then use ', '.join(text) to output the words in splitted
— Language:
py3
Source:
from decimal import Decimal
a = Decimal("2018.12")
b = Decimal("2018")
print(a-b)
Result:
0.12
Message permanent page
— .split(" ")
and .split()
are basically the same
— To remove the square braces and make the output look more better
— ... literally like this?
— That's how I prefer it man😂😂😂
— I am just showing flexibility around various "split" characters.