Skip to content
Ankita Wankhede edited this page Jul 14, 2017 · 3 revisions

TASK 1---Write a python program to create any one of the following management systems. You can also pick one of your own.a.Library Management System ( should have classes for Person, Student, Librarian, Book etc.)

Here is the output

TASK 2---2.In tutorial 3, we have created tic tac toe. Encapsulate the functions created in tutorial 3 in one class as Game. Also add the following:I.Add one constructor init in Game classwith 3*3 board sizeII.Check for winning condition. The player wins the game if any row or any column or any diagonal is filled by a single player. Create member function for the same.III.Prints the congratulatory message.IV.Create instance of game and start the game.V.Remember Player 1 has sign X and player 2 has sign 0

TASK 3---Using Numpyimplement game of life for random matrix of size 10*10. Your python source code should show calculations for birth , survive and death as given in rules below.Hint: refer this linkto know rules of game of lifehttp://jakevdp.github.io/blog/2013/08/07/conways-game-of-life/

Clone this wiki locally