Last answered:

02 Nov 2021

Posted on:

19 May 2021

0

name 'choice' is not defined

I have run the code as mentioned in lesson number 13: ' Creating the triangle in Matplotlib' under Python Programmer Bootcamp, but still getting error. Kindly help. I have attached the screenshot of the codeQuestion

1 answers ( 0 marked as helpful)
Posted on:

02 Nov 2021

0

You need to import random, and then put

random.choice(transformations).

Submit an answer