0% found this document useful (0 votes)
4 views1 page

Assignment 1 - Python Applications

This document outlines Assignment 1 for a Programming for Analytics course, requiring the submission of a Jupyter notebook with solutions to various programming tasks. The tasks include creating games and programs such as a word counter, number guessing game, Tic-Tac-Toe, Rock-Paper-Scissors, Hangman, Simon Says, and a number pyramid. The assignment is graded at 10%, and students are encouraged to use online resources for assistance.

Uploaded by

maheshmishra2901
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Assignment 1 - Python Applications

This document outlines Assignment 1 for a Programming for Analytics course, requiring the submission of a Jupyter notebook with solutions to various programming tasks. The tasks include creating games and programs such as a word counter, number guessing game, Tic-Tac-Toe, Rock-Paper-Scissors, Hangman, Simon Says, and a number pyramid. The assignment is graded at 10%, and students are encouraged to use online resources for assistance.

Uploaded by

maheshmishra2901
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1

Assignment 1: Programming for Analytics (Python):

Instructions:

• Kindly submit a single Jupyter notebook file (.ipynb ) containing solutions of


all the questions. (A1_sec_rollnumber. ipynb)
• Its is a graded assignment for 10%.
• Please assume or use internet to understand the details of the problem
• You may refer to snake and ladder problem solved in class for reference.

1. Word Counter
Description: Implement a program that counts the number of words, characters, and
sentences in a given text. Use loops and conditionals to analyze the input.

2. Number Guessing Game


Description: Create a number-guessing game where the program randomly selects a
number between 1 and 100, and the user has to guess it. Provide feedback on whether the
guess is too high or too low for 5 attempts and declare winner or loser.

3. Tic-Tac-Toe
Description: Implement a two-player Tic-Tac-Toe game. Use a 2D list to represent the
board, and check for wins after each turn.

4. Rock-Paper-Scissors Tournament
Description: Create a Rock-Paper-Scissors game where two players compete in multiple
rounds based on users choice. Track scores and declare the overall winner.

5. Hangman
Description: Implement a simple Hangman game where the player has to guess a word by
suggesting letters. Keep track of wrong guesses and end the game when the player either
wins or loses after fixed number of rounds.

6. Simon Says
Description: Create a version of the Simon Says game where the computer generates a
sequence of colors, and the player must repeat the sequence correctly. Increase the
sequence length with each round.

7. Number Pyramid
Description: Write a program that creates a number pyramid. For a given height, print a
pyramid of numbers where each row contains numbers from 1 to the current row number.

Prof. Dnyanesh, Programming for Analytics, Big Data Analytics, Goa Institute of Management

You might also like