Using Plot Command Interactively

While performing the Exercise 1, I got the following error. Please tell me how to resolve it. Thanks

Traceback (most recent call last)
<ipython-input-21-85e7860a2ace> in <module>
----> 1 plot(sin(x)*sin(x))/x

Python 14-04-20, 5:43 p.m. gandharv1597

Plesae use the brackets correctly. plot is a function and hence needs a set of opening and closing round braces. the correct statement will be : plot( ( sin( x ) * sin( x ) ) / x )

15-04-20, 5:05 p.m. ankitrj.iitb

Log-in to answer to this question.