We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b7fe0b commit 73cfd73Copy full SHA for 73cfd73
Fun with Numbers/Adding currency.py
@@ -0,0 +1,7 @@
1
+#Taking input and converting into float
2
+x = float(input("Enter a number: "))
3
+y = float(input("Enter another number: "))
4
+
5
+#Estimating and printing the result
6
+z = (x + y)
7
+print(f"{z:,}")
Fun with Numbers/Estimated result.py
+z = round(x + y)
+print(z)
0 commit comments