Question: Python (3.6.5): Part 3: Bring life() to the Grid Write a function named life() that completes the following tasks: (10x10 grid in 400X400 graphics window)

Python (3.6.5): Part 3: Bring life() to the Grid Write a function named life() that completes the following tasks: (10x10 grid in 400X400 graphics window)

Each cell in the Generations Grid has an 18% chance of starting the simulation alive.

Use loops to determine the initial alive or dead status of each of the cells in the Grid.

Set the fill color for the alive cells to red and the fill color for the dead cells to white

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!