diff --git a/README.md b/README.md index d2d9839..4a47dc0 100644 --- a/README.md +++ b/README.md @@ -21,20 +21,17 @@ New to Python? Take a look [here](https://github.com/prateekiiest/Code-Sleep-Pyt * [Translations of Hamlet](https://github.com/prateekiiest/Code-Sleep-Python#translations-of-hamlet) * [Classification](https://github.com/prateekiiest/Code-Sleep-Python#classification) * [Whisky Classification](https://github.com/prateekiiest/Code-Sleep-Python#whisky-classification) -* [Bird Migration](https://github.com/prateekiiest/Code-Sleep-Python#whisky-classification) -* [Social Network Analysis](https://github.com/prateekiiest/Code-Sleep-Python#whisky-classification) - +* [Bird Migration](https://github.com/prateekiiest/Code-Sleep-Python#Bird_mirgation) +* [Social Network Analysis](https://github.com/prateekiiest/Code-Sleep-Python#social_network) +* [Prime](https://github.com/prateekiiest/Code-Sleep-Python#Prime) +* [Website status check](https://github.com/prateekiiest/Code-Sleep-Python#website_status_check) ---------------------------------- ### Tic-Tac-Toe Tic-Tac-Toe (or noughts and crosses) is a simple strategy game in which two players take turns placing a mark on a 3x3 board, attempting to make a row, column, or diagonal of three with their mark. In this homework, we will use the tools we've covered in the past two weeks to create a Tic-Tac-Toe simulator and evaluate basic winning strategies. -![](https://upload.wikimedia.org/wikipedia/commons/8/8e/TicTacToe-6549127nnXOp.gif) - -Players soon discover that best play from both parties leads to a draw. - -Because of the simplicity of Tic-Tac-Toe, it is often used as a pedagogical tool for teaching the concepts of good sportsmanship and the branch of artificial intelligence that deals with the searching of game trees. It is straightforward to write a computer program to play Tic-Tac-Toe perfectly, to enumerate the 765 essentially different positions (the state space complexity), or the 26.830 possible games up to rotations and reflections (the game tree complexity) on this space. +![](https://upload.wikimedia.org/wikipedia/commons/8/8e/TicTacToe-6549127nnXOp.gif) Players soon discover that best play from both parties leads to a draw. Because of the simplicity of Tic-Tac-Toe, it is often used as a pedagogical tool for teaching the concepts of good sportsmanship and the branch of artificial intelligence that deals with the searching of game trees. It is straightforward to write a computer program to play Tic-Tac-Toe perfectly, to enumerate the 765 essentially different positions (the state space complexity), or the 26.830 possible games up to rotations and reflections (the game tree complexity) on this space. **[CODE](https://github.com/prateekiiest/Code-Sleep-Python/blob/master/tic-tac-toe/code.py)** @@ -100,6 +97,28 @@ Homophily is a network characteristic. Homophily occurs when nodes that share an ---------------------------------------------------- +### Prime number finder + +The implementation of Sieve of Eratosthenes is used to find prime numbers. + +![](https://i.pinimg.com/564x/cc/c7/55/ccc7554b4ae9ee9781b752832224f3ef--sieve-of-eratosthenes-prime-factorization.jpg) + +**[Code](https://github.com/prateekiiest/Code-Sleep-Python/blob/master/Prime/code.py)** + +---------------------------------------------------- + +#### Website status check + +A simple website crawler to check the return code of a website. It returns with a message on whether the website is online, redirected, or not found. + +![](http://yootheme.com/media/docs/assets/images/warp/error_pages_404.jpg) + +**[Code](https://github.com/prateekiiest/Code-Sleep-Python/blob/master/website_status_check/website_status_check.py)** + + +---------------------------------------------------- + + ## Getting started with Python New to Python? No problem! Take a look at the following resources: