Leetcode Basic Problems In Python Formatting Decimals