Nov-27-2018, 08:12 PM
I can't reproduce your issue:
Other than that, what type are you expecting
Error: File "testit.py", line 7
function = ((2499-Speed)/357)*((-1,75*10**-8)*Head**4+(1,21*10**-4)*Head**3-(3,1*10**-1)*Head**2+(3,53*10**2)*Head-1,49*10**5)+((Speed-2142)/357)*((-2,87*10**-9)*Head**4 +(2,58*10**-5)*Head**3-(8,71*10**-2)*Head**2+(1,3*10**2)*Head-7,03*10**4)
^
SyntaxError: invalid token
That said, I would have had to guess a speed and head. Can you please provide simpler code without input() (just hard-coded values which reproduce the issue) and verify that the code you've posted produces a particular error? Also, you should provide the full error message, not just "MemoryError" (if your IDE does not provide this, use a terminal to get it). I expect that you should be able to post five or fewer lines to reproduce this issue, no need to provide 4 similar lines.Other than that, what type are you expecting
function
to be?