diff options
Diffstat (limited to 'comp/work/21/money.py')
-rw-r--r-- | comp/work/21/money.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/comp/work/21/money.py b/comp/work/21/money.py new file mode 100644 index 0000000..55e7ecd --- /dev/null +++ b/comp/work/21/money.py @@ -0,0 +1,3 @@ +money = float(input("amount of money: ")) + +print(f"${money:.2f}") |