Mar-04-2020, 12:41 PM
Hey this is a very simple question, how do I use mathematical numbers in text such as 1,000.00 and 9,000.00.
For example:
For example:
x=float(1,000.00) y=float(19,000.00) print(x*y)
Error:Traceback (most recent call last):
File "C:\Users\aabha\OneDrive\Desktop\py4e\rough.py", line 1, in <module>
x=float(1,000.00)
TypeError: float expected at most 1 arguments, got 2