Question: Please help me fix it. Please dont use exceptvalue error. Cuz we supposed to not to. Just use else if elif. Please i posted before

 Please help me fix it. Please dont use exceptvalue error. Cuz
we supposed to not to. Just use else if elif. Please i
posted before it didnt wrk. It keep say the thing thing inPlease help me fix it. Please dont use exceptvalue error. Cuz we supposed to not to. Just use else if elif. Please i posted before it didnt wrk. It keep say the thing thing in red in the 3rd picture. Thank you

3. Write a program that asks the user for a color, a line width, a line iength and a snape. Assume nat the user will specify a shape that is either a line, a triangle, or a square. Use turtle graphics to draw the shape that the user requests of the size, color, line width and line length that the user requests. For example, if these are the user choices for color, width, line length and shape, the blue triangle below would be correct graphical output what color? blue what line width? 25 what line length? 100 line, triangle or square? triangle Enter color: blue Enter width: 25 Enter length: 100 draw a line, triangle, or square: triangle Traceback (most recent call last): File "C:\Users\skhanDesktop\Hwa-sabbirKhan.", line 42, in t.forward (length) File "c:lUserslskhan lAppData Local\Programs \Python \Python37-32Vliblturtle.py" line 1637, in forward self._go (distance) File "C:\Users\skhan\AppData\Local\Programs \ python\Python37-32\lb\ turtle . py", line 1604, in _go ende self. position self. orient distance File "C:\Users\skhan\AppData\Local\Programs\python\Python37-32\lib\turtle.py", line 257, in mul return Vec2D (self[0] other, self[1] other) TypeError: cant multiply sequence by non-int of type 'float In: 51 Col

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!