Calculator Problem

Steven D'Aprano steve+comp.lang.python at pearwood.info
Mon Feb 3 23:24:58 CET 2014


On Mon, 03 Feb 2014 10:04:35 -0800, Charlie Winn wrote:

> excuse me but don't be so ******* rude , i did run this program and it
> did run correctly 

Charlie, you may have run *some* program, but it wasn't the program you 
posted here. And if it ran correctly, why are you asking for help?

The code you ran and the code you posted here are not the same, because 
the code you posted will not run due to multiple syntax errors. If you 
had tried to run *that* program you would have received multiple syntax 
errors:

py> 1 = float(input('First Number:'))
  File "<stdin>", line 1
SyntaxError: can't assign to literal


So you must have run a different program. Please show us the program you 
*actually* used, and then we can help you.



-- 
Steven



More information about the Python-list mailing list