Question: In python The script below is intended to compute the cosine of values from 0 to 10 inclusive store them in a separate ist called
The script below is intended to compute the cosine of values from 0 to 10 inclusive store them in a separate ist called yest and ultimately print out a table. However, the programmer keeps getting an error and has become frustrated with it Please have a look at the code the crowd and the output and fw it so that it does what the user wants Then explain what was wrong with the script and how you have managed to for it 12 list - ylist - * print Cosines *) print(" ","1","cos(x)) print for xin range(10) xlist.append("1.0) ylist.append(th.cos(*1.0) print("X" st). It) Corines co) Attributerror back at recent call it) clpython input- 17 for In (0,0) 1.) y vist endast >> beint Attribute that true Deliverables trore script Correct Outut table of and colors of 10.000 1.000 100 explain the repaire de cont in the code articolo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
