summaryrefslogtreecommitdiff
path: root/comp/work/21/money.py
diff options
context:
space:
mode:
Diffstat (limited to 'comp/work/21/money.py')
-rw-r--r--comp/work/21/money.py3
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}")