saving . . . saved not able to execute the command has been deleted. not able to execute the command has been hidden .
not able to execute the command
Title
Question
I tried ececuting this command as it is
plot(x,-x*x+4*x-5,'r',linewidth=2)
the following is the error i am getting
<ipython-input-4-3899d2773deb> in <module>
----> 1 plot(x,-x*x+4*x-5,'r',linewidth=2)

TypeError: bad operand type for unary -: 'tuple'

Python Embellishing-a-plot 06-07 min 20-30 sec 22-06-19, 11:43 a.m. Aswaniuppada

Answers:

Please check the value of x and then try again.
22-06-19, 12:04 p.m. iakashchavan


Log-in to answer to this question.