├── Water Jug
├── waterjug.py
└── water_jug.png
├── pacman
├── requirements.txt
├── README.md
└── pacman.py
├── gesture_volume_control
├── requirements.txt
├── Readme.md
└── main.py
├── Fun_with_Python.jpg
├── 6_number
├── README.md
└── 6number.py
├── Flappy-Bird
├── Readme.md
└── flappy.py
├── hangman
├── __pycache__
│ ├── hangman_art.cpython-39.pyc
│ └── hangman_words.cpython-39.pyc
├── hangman_art.py
├── hangman.py
└── hangman_words.py
├── URL_Shortener
├── url_shortener.py
└── README.md
├── Dice-Roll
├── Readme.md
└── diceRoll.py
├── Stopwatch
├── ReadMe.md
└── stopwatch.py
├── Days Alive
├── ReadMe.md
└── days_alive.py
├── Website Checker
└── web.py
├── InteractivePrograms
└── lie_detector.py
├── Youtube Video Downloader
├── readme.md
└── Youtube_Vid_Downloader.py
├── higherlowergame
├── art.py
├── Higher-Lowergame.py
└── game_data.py
├── CurrencyConv
├── main.py
└── data.txt
├── clock project
└── clock.py
├── coin_flipping_game
└── coinflipgame.py
├── Login_Form using Tkinter
└── Login_Form.py
├── Quadraric Equation
└── quadraric-equation.py
├── cards_game
└── cards_game.py
├── Animal_Quiz
└── animal_quiz.py
├── Simple Python Cipher
└── cipher.py
├── bus_game
└── bus_game.py
├── Monty_Hall_Problem
└── montyhall.py
├── anime_quote_generator
└── anime-quote.py
├── Person_Detection
└── person.py
├── Sudoku
└── sudoku solver.py
├── anagram_game
└── anagram.py
├── guess_the_number
└── guessthenumber.py
├── random_password_generator
└── pwd_gen.py
├── Treasure_island
└── Treasure_hunt.py
├── coffeemachine
└── main.py
├── README.md
├── rock_paper_scissor
└── rps.py
├── ping_pong_game
└── pong.py
├── Assistant
└── Virtual_Assistant.py
├── Tic-tac-toe
└── tictac.py
├── black_jackgame
└── blackjack.py
├── Heart_Disease_Prediction
└── heart_disease.csv
└── Titanic
└── titanic.csv
/Water Jug/waterjug.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/pacman/requirements.txt:
--------------------------------------------------------------------------------
1 | freegames==2.3.2
2 |
--------------------------------------------------------------------------------
/gesture_volume_control/requirements.txt:
--------------------------------------------------------------------------------
1 | cv2
2 | mediapipe
3 | numpy
4 | pycaw
5 | comtypes
6 | ctypes
--------------------------------------------------------------------------------
/Fun_with_Python.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ManthanShettigar/FunWithPython/HEAD/Fun_with_Python.jpg
--------------------------------------------------------------------------------
/Water Jug/water_jug.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ManthanShettigar/FunWithPython/HEAD/Water Jug/water_jug.png
--------------------------------------------------------------------------------
/6_number/README.md:
--------------------------------------------------------------------------------
1 | # 6 Number
2 |
3 | Count the total of 6 number being inputted & return the `amount and average`
--------------------------------------------------------------------------------
/Flappy-Bird/Readme.md:
--------------------------------------------------------------------------------
1 | This is a Flappy Bird game coded in python using pygame module.
2 |
3 | Keys for movement ae: Up and down arrow keys
4 |
--------------------------------------------------------------------------------
/hangman/__pycache__/hangman_art.cpython-39.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ManthanShettigar/FunWithPython/HEAD/hangman/__pycache__/hangman_art.cpython-39.pyc
--------------------------------------------------------------------------------
/hangman/__pycache__/hangman_words.cpython-39.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ManthanShettigar/FunWithPython/HEAD/hangman/__pycache__/hangman_words.cpython-39.pyc
--------------------------------------------------------------------------------
/URL_Shortener/url_shortener.py:
--------------------------------------------------------------------------------
1 | import pyshorteners
2 |
3 | url = input('Enter URL : ')
4 |
5 | print('URL After Shortening :', pyshorteners.Shortener().tinyurl.short(url))
--------------------------------------------------------------------------------
/Dice-Roll/Readme.md:
--------------------------------------------------------------------------------
1 | The Dice Roll Simulation can be done by choosing a random integer between 1 and 6 for which I am using the random module in the Python programming language
2 |
--------------------------------------------------------------------------------
/Stopwatch/ReadMe.md:
--------------------------------------------------------------------------------
1 | ### A stopwatch that tracks the amount of time between hits of the "enter" key, with each key hit starting a new “lap” on the timer and Print the lap number, total time, and lap time.
2 |
--------------------------------------------------------------------------------
/pacman/README.md:
--------------------------------------------------------------------------------
1 | #### Play Pacman
2 |
3 | ```
4 | sudo apt-get install python3-tk
5 | ```
6 |
7 | ```
8 | python3 -m venv venv
9 | source venv/bin/activate
10 | pip3 install -r requirements.txt
11 | python3 pacman.py
12 | ```
13 |
--------------------------------------------------------------------------------
/Days Alive/ReadMe.md:
--------------------------------------------------------------------------------
1 | ###Days-Alive.py
2 |
3 | This is a program that takes input from users - Date of Birth, and using the data and using the datetime function is able to return the number of days the users has spent on the planet. The inputs for the date of birth given in yyyy-mm-dd format.
4 |
--------------------------------------------------------------------------------
/Website Checker/web.py:
--------------------------------------------------------------------------------
1 | import requests
2 |
3 | # 200 is the success status code of requests there fore it checks whether 200 is there.
4 | try:
5 | request = requests.get('http://www.amazon.in')
6 | if request.status_code == 200:
7 | print('Web site exists')
8 | except:
9 | print("Website does not exists")
10 |
--------------------------------------------------------------------------------
/InteractivePrograms/lie_detector.py:
--------------------------------------------------------------------------------
1 | name = input("What is your name? ")
2 |
3 | while True:
4 | prompt = input("Enter a statement or RETURN to close: ")
5 |
6 | if not prompt:
7 | break
8 |
9 | check_str = name + prompt
10 |
11 | if hash(check_str.lower()) % 2 == 0:
12 | print("That is a filthy lie!")
13 | else:
14 | print("That is the truth!")
15 |
16 |
--------------------------------------------------------------------------------
/Youtube Video Downloader/readme.md:
--------------------------------------------------------------------------------
1 | This is a youtube video downloader using python.
2 | 1. Run the `Youtube_Downloader.py` file.
3 | 2. Enter the video url.
4 | 3. The list of various formats, resolutions of video will appear.
5 | 4. Enter the number in front of the format, resolutioin you want to download.
6 | 5. It will take time as per your internet speed to download the video.
7 | 6. Video will be saved in the same directory.
--------------------------------------------------------------------------------
/Youtube Video Downloader/Youtube_Vid_Downloader.py:
--------------------------------------------------------------------------------
1 | from pytube import YouTube
2 |
3 | url = input("Enter the youtube link URL: ")
4 | yt = YouTube(url)
5 |
6 | print(f"Title: {yt.title}")
7 | videos = yt.streams
8 |
9 | for i,video in enumerate(videos):
10 | print(f"{str(i)} {str(video)}")
11 |
12 | num = int(input("Enter your choice: "))
13 | video = videos[num]
14 | print("Downloading the video. Please wait...")
15 | video.download()
--------------------------------------------------------------------------------
/higherlowergame/art.py:
--------------------------------------------------------------------------------
1 | logo = """
2 | __ ___ __
3 | / / / (_)___ _/ /_ ___ _____
4 | / /_/ / / __ `/ __ \/ _ \/ ___/
5 | / __ / / /_/ / / / / __/ /
6 | /_/ ///_/\__, /_/ /_/\___/_/
7 | / / /____/_ _____ _____
8 | / / / __ \ | /| / / _ \/ ___/
9 | / /___/ /_/ / |/ |/ / __/ /
10 | /_____/\____/|__/|__/\___/_/
11 | """
12 |
13 | vs = """
14 | _ __
15 | | | / /____
16 | | | / / ___/
17 | | |/ (__ )
18 | |___/____(_)
19 | """
--------------------------------------------------------------------------------
/Days Alive/days_alive.py:
--------------------------------------------------------------------------------
1 | # This program calculates the number of days an individual has been alive for
2 |
3 | import datetime
4 | a = int(input("What year were you born ? "))
5 | b = int(input("What month were you born(Number format where January is 1 and December is 12) ? "))
6 | c = int(input("What day of the month were you born in ? "))
7 | birthday = datetime.date(a, b, c)
8 | today = datetime.date.today()
9 | days_alive = today - birthday
10 | print(" You have been alive for " + str(days_alive))
11 |
--------------------------------------------------------------------------------
/CurrencyConv/main.py:
--------------------------------------------------------------------------------
1 | with open('data.txt') as f:
2 | lines = f.readlines()
3 |
4 | CDictionary = {}
5 | for line in lines:
6 | parsed = line.split("\t")
7 | CDictionary[parsed[0]] = parsed[1]
8 |
9 | amt = int(input(" \n***Please enter the Ammount***\n"))
10 | print(" \nCurrency options--\n")
11 | [print(item) for item in CDictionary.keys()]
12 | Curr = input("\nSelect and enter the name of the currency-\n")
13 | print(f"{amt} INR = {amt *float(CDictionary[Curr])} {Curr}")
14 | print("currency successfully converted!")
--------------------------------------------------------------------------------
/clock project/clock.py:
--------------------------------------------------------------------------------
1 | # importing libraries
2 | import tkinter
3 | from tkinter.ttk import*
4 | from tkinter import *
5 | import time
6 | from time import strftime
7 |
8 | # initializing window
9 | window=Tk()
10 | window.title('CLOCK')
11 | window.geometry('500x300')
12 | window.configure(background='#000000')
13 |
14 | def time():
15 | string = strftime('%H:%M:%S %p')
16 | label.config(text=string)
17 | label.after(1000, time)
18 |
19 | label = Label(window, font=("ds-digital,80"), background = "#000000", foreground = "#00FF00")
20 | label.place(relx = 0.5, rely = 0.5, anchor = 'center')
21 |
22 | time()
23 | window, mainloop()
--------------------------------------------------------------------------------
/gesture_volume_control/Readme.md:
--------------------------------------------------------------------------------
1 | # Gesture Volume Control
2 | Gesture control is the ability to recognize and interpret movements of the human body in order to interact with and control a computer system without direct physical contact.
3 | This is a Python Script which enables a user to control the volume of the computer using hand gestures.
4 |
5 | ## Setup
6 |
7 | ```
8 | # Navigate to the Project Directory
9 | cd gesture_volume_control
10 |
11 | # Install the necessary libraries/packages
12 | pip install requirements.txt
13 |
14 | # Run the script
15 | python main.py
16 | ```
17 |
18 | ## Made By :
19 |
20 | [Shubham Jha](https://github.com/shubhamjha25)
--------------------------------------------------------------------------------
/6_number/6number.py:
--------------------------------------------------------------------------------
1 | number = str(input('[INPUT] Input 6 numbers separated with comma: '));
2 | numberInArray = [];
3 | if (len(number) < 1):
4 | print ('[ERROR] No numbers provided!');
5 | else:
6 | chunk = (number).split(",");
7 | total = 0;
8 | for num in chunk:
9 | if (num.strip().isdigit()):
10 | numberInArray.append(int(num));
11 | total += int(num);
12 | if (len(numberInArray) > 6):
13 | print ('[ERROR] Too many numbers inputted!');
14 | elif (len(numberInArray) < 6):
15 | print ('[ERROR] Only input 6 numbers!');
16 | else:
17 | print ('[RESULT] Total:', total, 'and the average is:', total/len(numberInArray));
18 |
--------------------------------------------------------------------------------
/coin_flipping_game/coinflipgame.py:
--------------------------------------------------------------------------------
1 | import random
2 | import time
3 | print("-------------------------- COIN FLIPPING GAME -----------------------------")
4 | choice = input("Make your choice~ (heads or tails): ")
5 | number = random.randint(1,2)
6 | if number == 1:
7 | result = "heads"
8 | elif number == 2:
9 | result = "tails"
10 | print("-------------------------------- DECIDING ----------------------------------")
11 | time.sleep(2)
12 | if choice == result:
13 | print("WOOOOO WELL DONE YOU WON!!!! The coin you flipped were", result)
14 | else:
15 | print("Awww man, you lose. But you can run the script again y'know, The coin you flipped were", result)
16 | print("Thanks for playing the coin flipping game!!!")
--------------------------------------------------------------------------------
/Login_Form using Tkinter/Login_Form.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 | from tkinter import*
3 | from tkinter.ttk import *
4 | import tkinter.messagebox
5 | window=tkinter.Tk()
6 | window.geometry('300x150')
7 | window.title('Login Form')
8 |
9 | tkinter.Label(window,text='Username').grid(row=0, column=0)
10 | tkinter.Entry(window).grid(row=0, column=1)
11 |
12 | tkinter.Label(window,text='Passowrd').grid(row=1, column=0)
13 | tkinter.Entry(window).grid(row=1, column=1)
14 |
15 | tkinter.Checkbutton(window,text='Keep me logged in').grid(column=1,row=2)
16 |
17 | def CallBack():
18 | tkinter.messagebox.showinfo("Welcome", "Hellooo !")
19 | tkinter.Button(window,text='Login', command=CallBack).grid(column=1, row=3)
20 |
21 | window.mainloop()
--------------------------------------------------------------------------------
/Dice-Roll/diceRoll.py:
--------------------------------------------------------------------------------
1 | #importing module for random number generation
2 | import random
3 |
4 | #range of the values of a dice
5 | min_val = 1
6 | max_val = 6
7 |
8 | #to loop the rolling through user input
9 | roll_again = "yes"
10 |
11 | #loop
12 | while roll_again == "yes" or roll_again == "y":
13 | print("Rolling The Dices...")
14 | print("The Values are :")
15 |
16 | #generating and printing 1st random integer from 1 to 6
17 | print(random.randint(min_val, max_val))
18 |
19 | #generating and printing 2nd random integer from 1 to 6
20 | print(random.randint(min_val, max_val))
21 |
22 | #asking user to roll the dice again. Any input other than yes or y will terminate the loop
23 | roll_again = input("Roll the Dices Again?")
24 |
--------------------------------------------------------------------------------
/Stopwatch/stopwatch.py:
--------------------------------------------------------------------------------
1 | # A stopwatch that tracks the amount of time between hits
2 | # of the "enter" key, with each key hit starting a new
3 | # “lap” on the timer and Print the lap number, total time, and lap time.
4 |
5 | import time
6 | print("Hit \"enter\" to begin the program")
7 | print("Hit \"enter\" again to the stopwatch")
8 | input()
9 | print("Program is already running")
10 | startTime = time.time()
11 | lastTime = startTime
12 | lapNum = 1
13 | try:
14 | while True:
15 | input()
16 | lapTime = round(time.time() - lastTime, 2)
17 | totalTime = round(time.time() - startTime, 2)
18 | print('Lap #%s: %s (%s)' % (lapNum, totalTime, lapTime), end='')
19 | lapNum += 1
20 | lastTime = time.time() # reset the last lap time
21 | except KeyboardInterrupt:
22 | print('\nDone.')
23 |
--------------------------------------------------------------------------------
/Quadraric Equation/quadraric-equation.py:
--------------------------------------------------------------------------------
1 | # Python Program that takes input and returns the roots of a quadratic equation given that b^2 > 4ac
2 |
3 | # Importing necessary modules
4 | from decimal import Decimal
5 | import math
6 |
7 |
8 | print("Given that the quadratic equation is given as ax^2+ bx + c = 0")
9 | print("Input the respective values of a, b and c: ")
10 | a = Decimal(input("Input the coefficient of the second power of x, a: "))
11 | b = Decimal(input("Input the coeficient of x, b: "))
12 | c = Decimal(input("Input the constant, c: "))
13 | denomonator = 2*a
14 | inside_function= (b**2) - (4*a*c)
15 | square_root = Decimal(inside_function).sqrt()
16 | x_one = (-b + square_root)/denomonator
17 | x_two = (-b - square_root)/denomonator
18 | print("The roots of the quadratic equations are " + str(x_one) + " and " + str(x_two))
19 |
--------------------------------------------------------------------------------
/cards_game/cards_game.py:
--------------------------------------------------------------------------------
1 | from guietta import _, Gui, Quit
2 | import random
3 |
4 | gui= Gui(
5 | [_,"Deck of Card",_],
6 | [_, ["Shuffle"], _],
7 | [_, 'number', _],
8 | [_,'suite',_],
9 | [_, Quit, _]
10 | )
11 |
12 | def shuffle(gui):
13 | n= random.randint(1,13)
14 | if (n== 1):
15 | n="Ace"
16 | elif(n== 11):
17 | n="Jack"
18 | elif(n==12):
19 | n="Queen"
20 | elif(n==13):
21 | n="King"
22 | else:
23 | pass
24 | c= random.randint(1,4)
25 | if(c==1):
26 | c= "Spades"
27 | elif(c==2):
28 | c= "Hearts"
29 | elif(c==3):
30 | c= "Diamonds"
31 | elif(c==4):
32 | c= "Clubs"
33 | else:
34 | pass
35 | gui.suite= c
36 | gui.number= n
37 |
38 | gui.Shuffle=shuffle
39 |
40 | gui.run()
41 |
--------------------------------------------------------------------------------
/URL_Shortener/README.md:
--------------------------------------------------------------------------------
1 | # URL-Shortener
2 | A _URL shortener_ is a simple tool that takes a long URL and turns it into whatever URL you would like it to be.
3 |
4 |
5 | ## Why URL Shortener?
6 | - They make links more manageable
7 | - They can track and compile click data
8 | - They can be transformed into social media services
9 | - They can provide users useful features
10 | - They promote sharing
11 |
12 | Read about this in more detail [here](https://mashable.com/2009/04/05/url-shorteners/#:~:text=URL%20shorteners%2C%20such%20as%20bit,almost%20never%20exceed%2020%20characters.).
13 |
14 |
15 | ## pyshorteners
16 | A simple URL shortening API wrapper Python library.
17 |
18 | - Installing
19 | `pip install pyshorteners`
20 |
21 | - Documentation
22 | `https://pyshorteners.readthedocs.io/en/latest/`
23 |
24 |
25 | ## Made By
26 | [Shubham Jha](https://github.com/shubhamjha25)
--------------------------------------------------------------------------------
/Animal_Quiz/animal_quiz.py:
--------------------------------------------------------------------------------
1 | def check_guess(guess, answer):
2 | global score
3 | still_guessing = True
4 | attempt = 0
5 | while still_guessing and attempt < 3:
6 | if guess.lower() == answer.lower():
7 | print("Correct Answer")
8 | score = score + 1
9 | still_guessing = False
10 | else:
11 | if attempt < 2:
12 | guess = input("Sorry Wrong Answer, try again")
13 | attempt = attempt + 1
14 | if attempt == 3:
15 | print("The Correct answer is ", answer)
16 |
17 |
18 | score = 0
19 | print("Guess the Animal")
20 | guess1 = input("Which bear lives at the North Pole? ")
21 | check_guess(guess1, "polar bear")
22 | guess2 = input("Which is the fastest land animal? ")
23 | check_guess(guess2, "Cheetah")
24 | guess3 = input("Which is the larget animal? ")
25 | check_guess(guess3, "Blue Whale")
26 | print("Your Score is " + str(score))
27 |
--------------------------------------------------------------------------------
/CurrencyConv/data.txt:
--------------------------------------------------------------------------------
1 | Argentine Peso 1.115338 0.896589
2 | Australian Dollar 0.017966 55.660476
3 | Bahraini Dinar 0.005109 195.726140
4 | Botswana Pula 0.149039 6.709659
5 | Brazilian Real 0.068308 14.639623
6 | British Pound 0.010200 98.042160
7 | Canadian Dollar 0.017286 57.849228
8 | Chilean Peso 9.984351 0.100157
9 | Chinese Yuan Renminbi 0.088853 11.254577
10 | Colombian Peso 46.472740 0.021518
11 | Japanese Yen 1.413723 0.707352
12 | Nepalese Rupee 1.607500 0.622084
13 | New Zealand Dollar 0.019132 52.267460
14 | Norwegian Krone 0.118981 8.404735
15 | Omani Rial 0.005225 191.399294
16 | Pakistani Rupee 2.173161 0.460159
17 | Philippine Peso 0.653161 1.531016
18 | Polish Zloty 0.049474 20.212818
19 | Qatari Riyal 0.049461 20.217865
20 | Romanian New Leu 0.054403 18.381264
21 | Russian Ruble 0.993034 1.007015
22 | Swedish Krona 0.114455 8.737087
23 | Thai Baht 0.407954 2.451255
24 | Trinidadian Dollar 0.092336 10.830042
25 | Turkish Lira 0.107358 9.314632
26 | US Dollar 0.013588 73.593029
27 |
--------------------------------------------------------------------------------
/Simple Python Cipher/cipher.py:
--------------------------------------------------------------------------------
1 | # program to perform ceaser cipher
2 |
3 | ch = 'y'
4 | while ch == 'y' or ch == 'Y':
5 |
6 | print("Menu:") # menu for asking choice
7 | print("1.Cipher a message")
8 | print("2.Decipher a message")
9 | choice = int(input("Enter your choice: "))
10 | if choice == 1:
11 | string = input("Enter the string: ")
12 | k = int(input("Enter the key for ciphering: "))
13 | print("Creating cipher")
14 | code = ""
15 | for x in string:
16 | code = code+chr(ord(x)+k)
17 | print("The code is ", code)
18 | elif choice == 2:
19 | string = input("Enter the string: ")
20 | k = int(input("Enter the key for deciphering: "))
21 | print("Deciphering code")
22 | message = ""
23 | for x in string:
24 | message = message+chr(ord(x)-k)
25 | print("The message is ", message)
26 | else:
27 | print("Wrong choice")
28 | ch = input("Do you wish to continue?(y/n):") # asking to continue or not
29 |
--------------------------------------------------------------------------------
/bus_game/bus_game.py:
--------------------------------------------------------------------------------
1 | print("Type 'help' in the command line to briefly understand the game")
2 | command=""
3 | while True:
4 | command=input(">").lower()
5 | if command =="start":
6 | print("Bus started, ready to go ------> |----------|")
7 | print(" | | ")
8 | print(" |----------| ")
9 | print(" o o o o ")
10 | elif command=="stop":
11 | print("Bus stopped, |----------|")
12 | print(" | | ")
13 | print(" |----------| ")
14 | print(" o o o o ")
15 | elif command=="help":
16 | print("start=to start the Bus,\nstop=to stop the Bus,\nquit=to quit the game.")
17 | elif command=="quit":
18 | print("Thanks for playing,We hope you return back here soon.")
19 | break
20 | else:
21 |
22 | print("Sorry,i didn't understand ...\nPLEASE TRY AGAIN.")
--------------------------------------------------------------------------------
/Monty_Hall_Problem/montyhall.py:
--------------------------------------------------------------------------------
1 | import random
2 | from random import seed, randint
3 | import numpy
4 |
5 | def game(winningdoor, selecteddoor, change=False):
6 | assert winningdoor < 3
7 | assert winningdoor >= 0
8 |
9 | # Presenter removes the first door that was not selected neither winning
10 | removeddoor = next(i for i in range(3) if i != selecteddoor and i != winningdoor)
11 |
12 | # Player decides to change its choice
13 | if change:
14 | selecteddoor = next(i for i in range(3) if i != selecteddoor and i != removeddoor)
15 |
16 | # We suppose the player never wants to change its initial choice.
17 | return selecteddoor == winningdoor
18 |
19 |
20 | if __name__ == '__main__':
21 | playerdoors = numpy.random.random_integers(0,2, (1000 * 1000 * 1,))
22 |
23 | winningdoors = [d for d in playerdoors if game(1, d)]
24 | print("Winning percentage without changing choice: ", len(winningdoors) / len(playerdoors))
25 |
26 | winningdoors = [d for d in playerdoors if game(1, d, change=True)]
27 | print("Winning percentage while changing choice: ", len(winningdoors) / len(playerdoors))
--------------------------------------------------------------------------------
/hangman/hangman_art.py:
--------------------------------------------------------------------------------
1 | stages = ['''
2 | +---+
3 | | |
4 | O |
5 | /|\ |
6 | / \ |
7 | |
8 | =========
9 | ''', '''
10 | +---+
11 | | |
12 | O |
13 | /|\ |
14 | / |
15 | |
16 | =========
17 | ''', '''
18 | +---+
19 | | |
20 | O |
21 | /|\ |
22 | |
23 | |
24 | =========
25 | ''', '''
26 | +---+
27 | | |
28 | O |
29 | /| |
30 | |
31 | |
32 | =========''', '''
33 | +---+
34 | | |
35 | O |
36 | | |
37 | |
38 | |
39 | =========
40 | ''', '''
41 | +---+
42 | | |
43 | O |
44 | |
45 | |
46 | |
47 | =========
48 | ''', '''
49 | +---+
50 | | |
51 | |
52 | |
53 | |
54 | |
55 | =========
56 | ''']
57 |
58 | logo = '''
59 | _
60 | | |
61 | | |__ __ _ _ __ __ _ _ __ ___ __ _ _ __
62 | | '_ \ / _` | '_ \ / _` | '_ ` _ \ / _` | '_ \
63 | | | | | (_| | | | | (_| | | | | | | (_| | | | |
64 | |_| |_|\__,_|_| |_|\__, |_| |_| |_|\__,_|_| |_|
65 | __/ |
66 | |___/ '''
67 |
68 |
69 |
--------------------------------------------------------------------------------
/anime_quote_generator/anime-quote.py:
--------------------------------------------------------------------------------
1 | import json
2 | import requests
3 |
4 |
5 | sub = input("Choose your function:- \n1. Random anime quote\n2. 10 anime quotes \n3. Anime quote by anime name\n4. Anime quote by character name\n")
6 |
7 | if sub == '1':
8 |
9 | response = requests.get("https://animechan.vercel.app/api/random")
10 | a = json.loads(response.content)
11 | print("Anime :"+a["anime"])
12 | print("\nCharacter :"+a["character"])
13 | print("\nQuote :"+a["quote"])
14 | elif sub == '2':
15 | response = requests.get("https://animechan.vercel.app/api/quotes")
16 | a = json.loads(response.content)
17 | for items in range(len(a)):
18 | print("\n\n#"+str(items+1)+"Anime :"+a[items]["anime"])
19 | print("\n#"+str(items+1)+"Character :"+a[items]["character"])
20 | print("\n#"+str(items+1)+"Quote :"+a[items]["quote"])
21 | elif sub == '3':
22 | aname = input("Anime name:")
23 | response = requests.get("https://animechan.vercel.app/api/quotes/anime?title="+aname)
24 | a = json.loads(response.content)
25 | print("Anime :"+a[0]["anime"])
26 | print("\nCharacter :"+a[0]["character"])
27 | print("\nQuote :"+a[0]["quote"])
28 | elif sub == '4':
29 | chname = input("Character name:")
30 | response = requests.get("https://animechan.vercel.app/api/quotes/character?name="+chname)
31 | a = json.loads(response.content)
32 | print("Anime :"+a[0]["anime"])
33 | print("\nCharacter :"+a[0]["character"])
34 | print("\nQuote :"+a[0]["quote"])
35 | else:
36 | print("invalid input, enter a number from 1 to 4.")
--------------------------------------------------------------------------------
/hangman/hangman.py:
--------------------------------------------------------------------------------
1 | import random
2 | from hangman_art import stages, logo
3 | from hangman_words import word_list
4 | from replit import clear
5 |
6 | print(logo)
7 | game_is_finished = False
8 | lives = 6
9 |
10 | chosen_word = random.choice(word_list)
11 | word_length = len(chosen_word)
12 |
13 | display = []
14 | for _ in range(word_length):
15 | display += "_"
16 |
17 | while game_is_finished!=True:
18 | guess = input("Guess a letter: ").lower()
19 | clear()
20 | if guess in display:
21 | print(f"You've already guessed {guess}")
22 |
23 | for position in range(word_length):
24 | letter = chosen_word[position]
25 | if letter == guess:
26 | display[position] = letter
27 | print(f"{' '.join(display)}")
28 |
29 | if guess not in chosen_word:
30 | lives -= 1
31 | print(f"You guessed {guess}, that's not in the word. You lose a life, lives remain = {lives}.")
32 | if lives == 0:
33 | game_is_finished = True
34 | print("You lose.")
35 | if lives == 2:
36 | print("do you want a hint ? if yes you'll loose a live")
37 | res = input("y-for yes and n-for no")
38 | if res == 'y' or res == 'Y':
39 | lives-=1
40 | pos = int(input("which position ans you want?"))
41 | hint = chosen_word[pos]
42 | print(hint)
43 | print("lives remain ",lives)
44 |
45 | if not "_" in display:
46 | game_is_finished = True
47 | print("You win.")
48 |
49 | print(stages[lives])
50 |
51 |
52 | print("the word was ",chosen_word)
--------------------------------------------------------------------------------
/higherlowergame/Higher-Lowergame.py:
--------------------------------------------------------------------------------
1 | import art
2 | from game_data import data
3 | import random
4 | from replit import clear
5 |
6 |
7 | def get_random_account():
8 | acc_data = random.choice(data)
9 | return acc_data
10 | def format_data(acc_data):
11 |
12 | name = acc_data['name']
13 | description= acc_data['description']
14 | country = acc_data['country']
15 | return f"{name}, a {description}, from {country}"
16 |
17 | def check_answer(guess,a_followers,b_followers):
18 | if a_followers > b_followers:
19 | return guess =='a'
20 | else:
21 | return guess=='b'
22 |
23 |
24 | score=0
25 | def game(score):
26 | print(art.logo)
27 |
28 | game_should_continue=0
29 | account_a =get_random_account()
30 | account_b=get_random_account()
31 | while game_should_continue:
32 | account_a = account_b
33 | account_b = get_random_account()
34 |
35 | while account_a == account_b:
36 | account_b = get_random_account()
37 |
38 | print(f"Compare A: {format_data(account_a)}.")
39 | print(art.vs)
40 | print(f"Against B: {format_data(account_b)}.")
41 |
42 | guess = input("Who has more followers? Type 'A' or 'B': ").lower()
43 | a_follower_count = account_a["follower_count"]
44 | b_follower_count = account_b["follower_count"]
45 | is_correct = check_answer(guess, a_follower_count, b_follower_count)
46 | clear()
47 | if is_correct:
48 | score += 1
49 | print(f"You're right! Current score: {score}.")
50 | game(score)
51 | else:
52 | game_should_continue = False
53 | print(f"Sorry, that's wrong. Final score: {score}")
54 | game(score)
--------------------------------------------------------------------------------
/Person_Detection/person.py:
--------------------------------------------------------------------------------
1 | import cv2
2 | import numpy as np
3 | import imutils
4 |
5 | protopath = "MobileNetSSD_deploy.prototxt"
6 | modelpath = "MobileNetSSD_deploy.caffemodel"
7 | detector = cv2.dnn.readNetFromCaffe(prototxt=protopath, caffeModel=modelpath)
8 |
9 | CLASSES = ["background", "aeroplane", "bicycle", "bird", "boat",
10 | "bottle", "bus", "car", "cat", "chair", "cow", "diningtable",
11 | "dog", "horse", "motorbike", "person", "pottedplant", "sheep",
12 | "sofa", "train", "tvmonitor"]
13 |
14 |
15 | def main():
16 | image = cv2.imread('image.jpg')
17 | image = imutils.resize(image, width=600)
18 |
19 | (H, W) = image.shape[:2]
20 |
21 | blob = cv2.dnn.blobFromImage(image, 0.007843, (W, H), 127.5)
22 |
23 | detector.setInput(blob)
24 | person_detections = detector.forward()
25 |
26 | for i in np.arange(0, person_detections.shape[2]):
27 | confidence = person_detections[0, 0, i, 2]
28 | if confidence > 0.5:
29 | idx = int(person_detections[0, 0, i, 1])
30 |
31 | if CLASSES[idx] != "person":
32 | continue
33 |
34 | person_box = person_detections[0, 0,
35 | i, 3:7] * np.array([W, H, W, H])
36 | (startX, startY, endX, endY) = person_box.astype("int")
37 |
38 | cv2.rectangle(image, (startX, startY),
39 | (endX, endY), (0, 0, 255), 2)
40 |
41 | cv2.imshow("Results", image)
42 | cv2.waitKey(0)
43 | cv2.destroyAllWindows()
44 |
45 |
46 | main()
47 |
48 |
49 | """
50 |
51 | Sequence Wise Steps :
52 |
53 | STEP 1: python person_detection-video.py
54 |
55 | STEP 2: python person_tracking.py
56 |
57 | STEP 3: python social_distancing.py
58 |
59 | STEP 4: python dwell_time.py
60 |
61 | STEP 5: python combine.py
62 |
63 |
64 | """
65 |
--------------------------------------------------------------------------------
/Sudoku/sudoku solver.py:
--------------------------------------------------------------------------------
1 | # Sudoku solver
2 | # krishan821
3 |
4 | board = [[9,0,8,0,0,0,2,0,3],
5 | [0,4,0,0,9,0,0,6,0],
6 | [7,0,0,8,0,1,0,0,4],
7 | [6,0,0,4,0,9,0,0,0],
8 | [8,0,0,5,0,6,0,0,1],
9 | [0,0,0,3,0,2,0,0,0],
10 | [3,0,0,2,0,8,0,0,9],
11 | [0,8,0,0,6,0,0,4,0],
12 | [1,0,2,0,0,0,5,0,6]]
13 |
14 |
15 |
16 | def print_board(bo):
17 | for i in range(9):
18 | if i % 3 == 0 and i != 0:
19 | print('- - - - - - - - - - - -')
20 | for j in range(9):
21 | if j % 3 == 0 and j != 0:
22 | print(' | ',end='')
23 | print(bo[i][j],end = ' ')
24 | print()
25 |
26 |
27 |
28 | def find_empty(bo):
29 | for i in range(9):
30 | for j in range(9):
31 | if bo[i][j] == 0:
32 | return(i,j)
33 | else:
34 | return (None)
35 |
36 |
37 |
38 | def valid(bo,num,pos):
39 | #row
40 | for j in range(9):
41 | if bo[pos[0]][j] == num and j != pos[1]:
42 | return (False)
43 |
44 | #column
45 | for i in range(9):
46 | if bo[i][pos[1]] == num and i!=pos[0] :
47 | return (False)
48 |
49 | #subgrid
50 | x_sub = int(pos[0]/3)
51 | y_sub = int(pos[1]/3)
52 | for i in range(x_sub * 3 , (x_sub * 3) + 3):
53 | for j in range(y_sub * 3 , (y_sub*3) + 3):
54 | if bo[i][j] == num and (i,j)!=pos:
55 | return(False)
56 |
57 | return (True)
58 |
59 |
60 |
61 | def solve(bo):
62 | find = find_empty(bo)
63 | if not find :
64 | return (True)
65 | else :
66 | x,y = find
67 |
68 | for i in range(1,10):
69 | if valid(bo,i,(x,y)):
70 | bo[x][y] = i
71 |
72 | if solve(bo):
73 | return (True)
74 |
75 | bo[x][y] = 0
76 |
77 | return(False)
78 |
79 |
80 |
81 | print_board(board)
82 | solve(board)
83 | print('\nSolution :\n')
84 | print_board(board)
85 |
--------------------------------------------------------------------------------
/anagram_game/anagram.py:
--------------------------------------------------------------------------------
1 | import tkinter
2 | from tkinter import *
3 | import random
4 | from tkinter import messagebox
5 |
6 | answers = ["harry", "hermione", "ron",
7 | "potterhead", "snape", "dumbledore", "voldemort"]
8 |
9 | words = ["ryrha", "mieroneh", "orn",
10 | "ttopraedeh", "anspe", "ulrdmedobe", "ldermovot"]
11 |
12 | num = random.randrange(0, len(words), 1)
13 |
14 | def default():
15 | global words, answers, num
16 | lbl.config(text = words[num])
17 |
18 | def reset():
19 | global words, answers, num
20 | num = random.randrange(0, len(words), 1)
21 | lbl.config(text = words[num])
22 | e1.delete(0, END)
23 |
24 | def check_ans():
25 | global words, answers, num
26 | var = e1.get()
27 | if var == answers[num]:
28 | messagebox.showinfo("Well Done!", "That's Correct!")
29 | reset()
30 | else:
31 | messagebox.showerror("Error", "That's not corret!")
32 | e1.delete(0, END)
33 |
34 | root = tkinter.Tk()
35 | root.geometry("350x400+400+300")
36 | root.title("Anagrams")
37 | root.configure(background = "#6c4f57")
38 |
39 | lbl = Label(
40 | root,
41 | text = "Your here",
42 | font= ("Verdana", 18),
43 | bg = "#252626",
44 | fg = "#FFF",
45 | )
46 | lbl.pack(pady = 30, ipady = 10, ipadx = 10)
47 |
48 | ans_1 = StringVar()
49 | e1 = Entry(
50 | root,
51 | font = ("Verdana", 16),
52 | textvariable = ans_1,
53 | )
54 | e1.pack(ipady = 5, ipadx = 5)
55 |
56 | btn_check = Button(
57 | root,
58 | text = "Check",
59 | font = ("Comic sans ms", 16),
60 | width = 16,
61 | bg = "#ae8d92",
62 | fg = "#003458",
63 | relief = GROOVE,
64 | command = check_ans,
65 | )
66 | btn_check.pack(pady = 40)
67 |
68 | btn_reset = Button(
69 | root,
70 | text = "Reset",
71 | font = ("Comic sans ms", 16),
72 | width = 16,
73 | bg = "#ae8d92",
74 | fg = "#292939",
75 | relief = GROOVE,
76 | command = reset,
77 | )
78 | btn_reset.pack()
79 |
80 | default()
81 | root.mainloop()
82 |
--------------------------------------------------------------------------------
/guess_the_number/guessthenumber.py:
--------------------------------------------------------------------------------
1 | import random as r
2 | import time
3 |
4 | CORRECTANSWER = r.randint(1,100)
5 | print('\n',20*'*', 'Welcome to GUESS THE NUMBER', 20*'*')
6 | time.sleep(1)
7 |
8 | print('\nThe Rules are Simple, the computer will choose a number randomly and you have to guess it.')
9 | time.sleep(2)
10 | print('\nYou will get number of choices based on your difficulty choice.')
11 | time.sleep(1.5)
12 | print('\n10 chances in Easy difficulty, 7 in medium and 5 in Hard difficulty.')
13 | time.sleep(1.5)
14 | print('\nAll the best. ;)')
15 |
16 | time.sleep(1)
17 | print("\nThinking of a number from 1-100")
18 | time.sleep(2)
19 |
20 |
21 | def level():
22 | """
23 | Accept the guess from the user
24 | """
25 | choice = input('Enter your difficulty level(E for easy, M for medium and H for hard)\n')
26 | if choice=='E' or choice == 'e':
27 | attempts=10
28 | return attempts
29 | elif choice=='M' or choice == 'm':
30 | attempts=7
31 | return attempts
32 | elif choice=='h' or choice == 'H':
33 | attempts=5
34 | return attempts
35 |
36 | user_attempt = level()
37 |
38 | def guess():
39 | """accept guess from the user"""
40 | print(f"\nYou have {user_attempt} attempts emaining to guess the number")
41 | user_guess=int(input('Make a guess :: '))
42 | if user_guess==CORRECTANSWER:
43 | print('\nYou have guessed it right !!!')
44 | exit(0)
45 | elif user_guess > CORRECTANSWER + 15:
46 | if(user_attempt > 1):
47 | print('Your guess is too HIGH')
48 | elif user_guess < CORRECTANSWER - 15:
49 | if(user_attempt > 1):
50 | print('Your guess is too LOW')
51 | elif user_guess > CORRECTANSWER:
52 | if(user_attempt > 1 ):
53 | print('Guess a bit lower')
54 | else:
55 | if(user_attempt > 1):
56 | print('Guess a bit higher')
57 |
58 |
59 |
60 | while(user_attempt!=0):
61 | guess()
62 | user_attempt=user_attempt-1
63 | if user_attempt==0:
64 | print('\nYou ran out of chances, you can try again :)')
65 |
66 |
67 |
--------------------------------------------------------------------------------
/random_password_generator/pwd_gen.py:
--------------------------------------------------------------------------------
1 | import sys
2 | import secrets
3 | import string
4 | import random
5 |
6 | lowercase_char = string.ascii_lowercase
7 | uppercase_char = string.ascii_uppercase
8 | nums = string.digits
9 | special_char = "!@#$%^&*()=+-~/[]{};:<>`"
10 |
11 | password = ''
12 | count = 0
13 | length_error = False
14 | uppercase_error = False
15 | num_error = False
16 | special_error = False
17 |
18 | # User input
19 | length = int(input("Required Password Length? "))
20 | uppercase_req = int(input("How many Uppercase letter are Required? "))
21 | num_req = int(input("How many Numbers are required? "))
22 | special_req = int(input("How many special characters are required? "))
23 |
24 | def error(length, uppercase_req, num_req, special_req):
25 | global length_error
26 | global uppercase_error
27 | global num_error
28 | global special_error
29 | if (length <= 0):
30 | length_error = True
31 | if (uppercase_req < 0):
32 | uppercase_error = True
33 | if (num_req < 0):
34 | num_error = True
35 | if (special_req < 0):
36 | special_error = True
37 |
38 | def make_password(required_count, character_set):
39 | global count
40 | global password
41 | while (count < required_count):
42 | password += secrets.choice(character_set)
43 | count += 1
44 | count = 0
45 |
46 | def shuffle(s):
47 | l = list(s)
48 | random.shuffle(l)
49 | return "".join(l)
50 |
51 | #Error Message
52 | error(length, uppercase_req, num_req, special_req)
53 | if (length_error):
54 | print("Invalid length!")
55 | if (uppercase_error):
56 | print("Invalid uppercase letter requirement!")
57 | if (num_error):
58 | print("Invalid number requirement!")
59 | if (special_error):
60 | print("Invalid special character requirement!")
61 |
62 |
63 | if ((not length_error) and (not uppercase_error) and (not num_error) and (not special_error)):
64 | make_password(uppercase_req, uppercase_char)
65 | make_password(num_req, nums)
66 | make_password(special_req, special_char)
67 | make_password(length - len(password), lowercase_char)
68 |
69 | print("\nPASSWORD: %s\n" % shuffle(password))
70 | else:
71 | print("Please fix any errors.")
72 |
73 |
74 | input("Press ENTER to Exit!")
--------------------------------------------------------------------------------
/Treasure_island/Treasure_hunt.py:
--------------------------------------------------------------------------------
1 | print('''
2 | *******************************************************************************
3 | | | | |
4 | _________|________________.=""_;=.______________|_____________________|_______
5 | | | ,-"_,="" `"=.| |
6 | |___________________|__"=._o`"-._ `"=.______________|___________________
7 | | `"=._o`"=._ _`"=._ |
8 | _________|_____________________:=._o "=._."_.-="'"=.__________________|_______
9 | | | __.--" , ; `"=._o." ,-"""-._ ". |
10 | |___________________|_._" ,. .` ` `` , `"-._"-._ ". '__|___________________
11 | | |o`"=._` , "` `; .". , "-._"-._; ; |
12 | _________|___________| ;`-.o`"=._; ." ` '`."\` . "-._ /_______________|_______
13 | | | |o; `"-.o`"=._`` '` " ,__.--o; |
14 | |___________________|_| ; (#) `-.o `"=.`_.--"_o.-; ;___|___________________
15 | ____/______/______/___|o;._ " `".o|o_.--" ;o;____/______/______/____
16 | /______/______/______/_"=._o--._ ; | ; ; ;/______/______/______/_
17 | ____/______/______/______/__"=._o--._ ;o|o; _._;o;____/______/______/____
18 | /______/______/______/______/____"=._o._; | ;_.--"o.--"_/______/______/______/_
19 | ____/______/______/______/______/_____"=.o|o_.--""___/______/______/______/____
20 | /______/______/______/______/______/______/______/______/______/______/_____ /
21 | *******************************************************************************
22 | ''')
23 | print("Welcome to Treasure Island.")
24 | print("Your mission is to find the treasure.")
25 | choice1 = input('You\'re at a cross road. Where do you want to go? Type "left" or "right" \n').lower()
26 | if choice1 == "left":
27 | choice2 = input('You\'ve come to a lake. There is an island in the middle of the lake. Type "wait" to wait for a boat. Type "cave" to go in the cave and have rest \n').lower()
28 | if choice2 == "wait":
29 | choice3 = input("You arrive at the island unharmed. There is a house with 3 doors. One red, one yellow and one blue. Which colour do you choose? \n").lower()
30 | if choice3 == "red":
31 | print("It's a room full of tigers. Game Over.")
32 | elif choice3 == "yellow":
33 | print("You found the treasure! You Win!")
34 | elif choice3 == "blue":
35 | print("You enter a room of zhombies. Game Over.")
36 | else:
37 | print("You chose a door that doesn't exist, so you are thrown near zhombies. Game Over.!!!!!")
38 | else:
39 | print("You get attacked by zhombies. Game Over!!!!!.")
40 | else:
41 | print("You fell into a hole. Game Over.")
--------------------------------------------------------------------------------
/coffeemachine/main.py:
--------------------------------------------------------------------------------
1 | MENU = {
2 | "espresso": {
3 | "ingredients": {
4 | "water": 50,
5 | "coffee": 18,
6 | },
7 | "cost": 1.5,
8 | },
9 | "latte": {
10 | "ingredients": {
11 | "water": 200,
12 | "milk": 150,
13 | "coffee": 24,
14 | },
15 | "cost": 2.5,
16 | },
17 | "cappuccino": {
18 | "ingredients": {
19 | "water": 250,
20 | "milk": 100,
21 | "coffee": 24,
22 | },
23 | "cost": 3.0,
24 | }
25 | }
26 | profit = 0
27 | resources = {
28 | "water": 300,
29 | "milk": 200,
30 | "coffee": 100,
31 | }
32 |
33 | # TODO 2:Report of Resources left.
34 | def show_report():
35 | print(f'Water : {resources["water"]}ml')
36 | print(f'Milk : {resources["milk"]}ml')
37 | print(f'Coffee :{resources["coffee"]}g')
38 | print(f'Money : {profit}$')
39 |
40 | def is_resources_sufficient(orderd_ingredients):
41 | for item in orderd_ingredients:
42 | if orderd_ingredients[item] >= resources[item]:
43 | print(f"Sorry there is not enough {orderd_ingredients[item]}")
44 | return False
45 | return True
46 |
47 | def process_coins():
48 | print("Please Insert Coins")
49 | total = int(input("How many quarters"))* .25
50 | total += int(input("How many dimes"))* .10
51 | total += int(input("How many nickles"))* .05
52 | total += int(input("How many pennies"))* .01
53 | return total
54 | # TODO 6 :
55 | def is_transaction_succesful(money_received,drink_cost):
56 | if money_received>=drink_cost:
57 | change = round(money_received-drink_cost,2)
58 | print(f"Here is your ${change} in change")
59 | global profit
60 | profit+=drink_cost
61 | return True
62 | else:
63 | print("Sorry that's not enough money. Money refunded")
64 | return False
65 |
66 | # TODO 7:Deduct resources from the menu of userschoice.
67 |
68 | def make_coffee(drink_name,order_ingredients):
69 | for item in order_ingredients:
70 | resources[item] -= order_ingredients[item]
71 | print(f"Here is your {drink_name} ☕️. Enjoy!")
72 |
73 | #TODO 1:Prompt user by asking “What would you like? (espresso/latte/cappuccino):
74 |
75 | is_on = True
76 | while is_on:
77 | choice=input("“What would you like? (espresso/latte/cappuccino):").lower()
78 | if choice =='report':
79 | show_report()
80 | elif choice=='off':
81 | is_on=False
82 | elif choice =='latte' or choice =='espresso' or choice=='cappuccino':
83 | drink=MENU[choice]
84 | if is_resources_sufficient(drink['ingredients']):
85 | payment =process_coins()
86 | if is_transaction_succesful(payment,drink['cost']):
87 | make_coffee(choice, drink["ingredients"])
88 | else:
89 | pass
90 |
91 | #
--------------------------------------------------------------------------------
/gesture_volume_control/main.py:
--------------------------------------------------------------------------------
1 | import cv2 as cv
2 | import time
3 | import mediapipe as mp
4 | import numpy as np
5 | import math
6 | from ctypes import cast, POINTER
7 | from comtypes import CLSCTX_ALL
8 | from pycaw.pycaw import AudioUtilities, IAudioEndpointVolume
9 | ###########################
10 | wCam,hCam = 640,480
11 | ###########################
12 |
13 | cap = cv.VideoCapture(0)
14 | cap.set(3,wCam)
15 | cap.set(4,hCam)
16 | pTime = 0
17 |
18 | mpHands = mp.solutions.hands
19 | hands = mpHands.Hands(min_detection_confidence=0.7)
20 | mpDraw = mp.solutions.drawing_utils
21 |
22 | devices = AudioUtilities.GetSpeakers()
23 | interface = devices.Activate(
24 | IAudioEndpointVolume._iid_, CLSCTX_ALL, None)
25 | volume = cast(interface, POINTER(IAudioEndpointVolume))
26 | #volume.GetMute()
27 | #volume.GetMasterVolumeLevel()
28 | volRange = volume.GetVolumeRange()
29 |
30 | minVol = volRange[0]
31 | maxVol = volRange[1]
32 |
33 | vol=0
34 | volBar = 400
35 | volPer = 0
36 |
37 | while True:
38 | success,img = cap.read()
39 |
40 | imgRGB = cv . cvtColor(img,cv.COLOR_BGR2RGB)
41 | results = hands.process(imgRGB)
42 | lmList = []
43 | if results.multi_hand_landmarks:
44 | for handLms in results.multi_hand_landmarks:
45 | for id,lm in enumerate(handLms.landmark):
46 |
47 | h, w, c = img.shape
48 | cx, cy = int(lm.x*w) , int(lm.y*h)
49 | #print(id,cx,cy)
50 | lmList.append([id, cx, cy])
51 |
52 |
53 | cv.circle(img,(cx,cy),8,(0,255,0),cv.FILLED)
54 |
55 | mpDraw.draw_landmarks(img,handLms,mpHands.HAND_CONNECTIONS)
56 | if len(lmList) != 0:
57 | #print(lmList[4],lmList[8])
58 |
59 | x1,y1 = lmList[4][1],lmList[4][2]
60 | x2,y2 = lmList[8][1],lmList[8][2]
61 | cx,cy =(x1+x2)//2, (y1+y2)//2
62 |
63 | cv.circle(img,(x1,y1),10,(255,0,0),cv.FILLED)
64 | cv.circle(img,(x2,y2),10,(255,0,0),cv.FILLED)
65 | cv.line(img,(x1,y1),(x2,y2),(0,255,0),3)
66 | cv.circle(img,(cx,cy),10,(255,0,0),cv.FILLED)
67 | length = math.hypot(x2-x1,y2-y1)
68 | #print(length)
69 |
70 | # Hand Range 50-220
71 | # volume Range -64 - 0
72 |
73 | vol = np.interp(length,[50,170],[minVol,maxVol])
74 | volBar = np.interp(length,[50,170],[400,150])
75 | volPer = np.interp(length,[50,170],[0,100])
76 | print(int(length),vol)
77 | volume.SetMasterVolumeLevel(vol, None)
78 |
79 |
80 | if(length<50):
81 | cv.circle(img,(cx,cy),10,(0,0,255),cv.FILLED)
82 |
83 | cv.rectangle(img,(50,150),(85,400),(0,255,0),2)
84 | cv.rectangle(img,(50,int(volBar)),(85,400),(0,255,0),cv.FILLED)
85 | cv.putText(img,f'{int(volPer)}%',(40,450),cv.FONT_HERSHEY_PLAIN,3,(0,255,0),3)
86 |
87 | cTime = time.time()
88 | fps = 1/(cTime-pTime)
89 | pTime=cTime
90 |
91 | cv.putText(img,f'FPS:{int(fps)}',(40,70),cv.FONT_HERSHEY_PLAIN,3,(0,0,255),3)
92 |
93 | cv.imshow("Video",img)
94 |
95 | cv.waitKey(1)
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | 
4 |
5 | 
6 |
7 |
8 |
9 |
10 |   
11 |
12 | > This Repository is a collection of scripts, games, bots, scraper and tools written in python
13 |
14 | ### Prerequisite
15 | - [Python3+](https://www.python.org/)
16 |
17 |
18 | ### Workflow for execution
19 | ###### Steps
20 | 1. Clone the repository
21 | 2. Change to any project directory
22 | 3. Execute the python script
23 | Example:
24 | ```shell
25 | git clone https://github.com/ManthanShettigar/FunWithPython.git
26 | cd FunWithPython/black_jackgame
27 | python blackjack.py
28 | ```
29 |
30 |
31 |
32 | ### Workflow for contribution
33 | ###### Steps
34 | 1. Star and fork the repository.
35 | 2. Clone the repositry
36 | ```
37 | git clone https://github.com//FunWithPython
38 | ```
39 |
40 | 3. Add a remote for the original repository.
41 | ```
42 | git remote add upstream https://github.com/ManthanShettigar/FunWithPython.git
43 | ```
44 | 4. Navigate to the project and create a branch.
45 | ```
46 | cd FunWithPython
47 | git checkout -b
48 | ```
49 | 5. Add/Make the required changes and **always fetch upstream changes _to avoid merge conflicts_**
50 | ```
51 | git pull upstream master
52 | ```
53 | 6. Commit the changes.
54 | ```
55 | git add
56 | git commit -m "Change Message"
57 | ```
58 | 7. Push it to your repository
59 | ```
60 | git push origin
61 | ```
62 | 8. Once pushed. check your repository.
63 | 9. Clicking on contribute button you can open a **```pull request```**.
64 | 10. Fill the details and click on **```Create pull request```**.
65 |
66 | # FAQ!
67 |
68 | 1.Why do merge confilcts occur
69 |
70 | >Ans. Suppose you forked the repository, now some other contributor who forked the same repository did some changes and added a PR , the maintainer will check it and finding no visible issues, will merge the PR to the main branch now the repository on your profile is frozen, the updates on the original repository don't reflect on the forked repository of your profile hence dont reflect on your local machine sice you cloned it before the changes.
71 | now since you create changes of your own in your local machine, and try to create a PR there will be a merge conflict because the original repository is ahead some changes which are not pulled down and implemented on your local machine,that is the reason of merge conflcits.
72 |
73 |
74 | 2. how to avoid merge conflicts ?
75 |
76 | > when you fork the repository there is a remote usually called **'origin'** that is referencing to the forked repository on your profile. you have to add another remote usually called **"upstream"** that references the original repository , now before making any changes of your own, pull down changes made in the original repository using the command ` git pull upstream master` and then the changes are reflected in your local machine now you can add changes and commit them _CONFLICT-LESSLY._
77 |
78 | 3. do we create another feature branch or work on the main branch?
79 |
80 | > Yes,create a feature branch and work on that branch, don't make changes to the main/master branch.
81 |
--------------------------------------------------------------------------------
/hangman/hangman_words.py:
--------------------------------------------------------------------------------
1 | word_list = [
2 | 'abruptly',
3 | 'absurd',
4 | 'abyss',
5 | 'affix',
6 | 'askew',
7 | 'avenue',
8 | 'awkward',
9 | 'axiom',
10 | 'azure',
11 | 'bagpipes',
12 | 'bandwagon',
13 | 'banjo',
14 | 'bayou',
15 | 'beekeeper',
16 | 'bikini',
17 | 'blitz',
18 | 'blizzard',
19 | 'boggle',
20 | 'bookworm',
21 | 'boxcar',
22 | 'boxful',
23 | 'buckaroo',
24 | 'buffalo',
25 | 'buffoon',
26 | 'buxom',
27 | 'buzzard',
28 | 'buzzing',
29 | 'buzzwords',
30 | 'caliph',
31 | 'cobweb',
32 | 'cockiness',
33 | 'croquet',
34 | 'crypt',
35 | 'curacao',
36 | 'cycle',
37 | 'daiquiri',
38 | 'dirndl',
39 | 'disavow',
40 | 'dizzying',
41 | 'duplex',
42 | 'dwarves',
43 | 'embezzle',
44 | 'equip',
45 | 'espionage',
46 | 'euouae',
47 | 'exodus',
48 | 'faking',
49 | 'fishhook',
50 | 'fixable',
51 | 'fjord',
52 | 'flapjack',
53 | 'flopping',
54 | 'fluffiness',
55 | 'flyby',
56 | 'foxglove',
57 | 'frazzled',
58 | 'frizzled',
59 | 'fuchsia',
60 | 'funny',
61 | 'gabby',
62 | 'galaxy',
63 | 'galvanize',
64 | 'gazebo',
65 | 'giaour',
66 | 'gizmo',
67 | 'glowworm',
68 | 'glyph',
69 | 'gnarly',
70 | 'gnostic',
71 | 'gossip',
72 | 'grogginess',
73 | 'haiku',
74 | 'haphazard',
75 | 'hyphen',
76 | 'iatrogenic',
77 | 'icebox',
78 | 'injury',
79 | 'ivory',
80 | 'ivy',
81 | 'jackpot',
82 | 'jaundice',
83 | 'jawbreaker',
84 | 'jaywalk',
85 | 'jazziest',
86 | 'jazzy',
87 | 'jelly',
88 | 'jigsaw',
89 | 'jinx',
90 | 'jiujitsu',
91 | 'jockey',
92 | 'jogging',
93 | 'joking',
94 | 'jovial',
95 | 'joyful',
96 | 'juicy',
97 | 'jukebox',
98 | 'jumbo',
99 | 'kayak',
100 | 'kazoo',
101 | 'keyhole',
102 | 'khaki',
103 | 'kilobyte',
104 | 'kiosk',
105 | 'kitsch',
106 | 'kiwifruit',
107 | 'klutz',
108 | 'knapsack',
109 | 'larynx',
110 | 'lengths',
111 | 'lucky',
112 | 'luxury',
113 | 'lymph',
114 | 'marquis',
115 | 'matrix',
116 | 'megahertz',
117 | 'microwave',
118 | 'mnemonic',
119 | 'mystify',
120 | 'naphtha',
121 | 'nightclub',
122 | 'nowadays',
123 | 'numbskull',
124 | 'nymph',
125 | 'onyx',
126 | 'ovary',
127 | 'oxidize',
128 | 'oxygen',
129 | 'pajama',
130 | 'peekaboo',
131 | 'phlegm',
132 | 'pixel',
133 | 'pizazz',
134 | 'pneumonia',
135 | 'polka',
136 | 'pshaw',
137 | 'psyche',
138 | 'puppy',
139 | 'puzzling',
140 | 'quartz',
141 | 'queue',
142 | 'quips',
143 | 'quixotic',
144 | 'quiz',
145 | 'quizzes',
146 | 'quorum',
147 | 'razzmatazz',
148 | 'rhubarb',
149 | 'rhythm',
150 | 'rickshaw',
151 | 'schnapps',
152 | 'scratch',
153 | 'shiv',
154 | 'snazzy',
155 | 'sphinx',
156 | 'spritz',
157 | 'squawk',
158 | 'staff',
159 | 'strength',
160 | 'strengths',
161 | 'stretch',
162 | 'stronghold',
163 | 'stymied',
164 | 'subway',
165 | 'swivel',
166 | 'syndrome',
167 | 'thriftless',
168 | 'thumbscrew',
169 | 'topaz',
170 | 'transcript',
171 | 'transgress',
172 | 'transplant',
173 | 'triphthong',
174 | 'twelfth',
175 | 'twelfths',
176 | 'unknown',
177 | 'unworthy',
178 | 'unzip',
179 | 'uptown',
180 | 'vaporize',
181 | 'vixen',
182 | 'vodka',
183 | 'voodoo',
184 | 'vortex',
185 | 'voyeurism',
186 | 'walkway',
187 | 'waltz',
188 | 'wave',
189 | 'wavy',
190 | 'wax',
191 | 'wellspring',
192 | 'wheezy',
193 | 'whiskey',
194 | 'whizzing',
195 | 'whomever',
196 | 'wimpy',
197 | 'witchcraft',
198 | 'wizard',
199 | 'woozy',
200 | 'wristwatch',
201 | 'wyvern',
202 | 'xylophone',
203 | 'yachtsman',
204 | 'yippee',
205 | 'yoked',
206 | 'youthful',
207 | 'yummy',
208 | 'zephyr',
209 | 'zigzag',
210 | 'zigzagging',
211 | 'zilch',
212 | 'zipper',
213 | 'zodiac',
214 | 'zombie',
215 | ]
--------------------------------------------------------------------------------
/rock_paper_scissor/rps.py:
--------------------------------------------------------------------------------
1 | Rock = '''
2 | _______
3 | ---' ____)
4 | (_____)
5 | (_____)
6 | (____)
7 | ---.__(___)
8 | '''
9 |
10 | Paper = '''
11 | _______
12 | ---' ____)____
13 | ______)
14 | _______)
15 | _______)
16 | ---.__________)
17 | '''
18 |
19 | Scissors = '''
20 | _______
21 | ---' ____)____
22 | ______)
23 | __________)
24 | (____)
25 | ---.__(___)
26 | '''
27 | import random
28 | game = [Rock, Paper, Scissors]
29 | # Print multiline instruction
30 | # performstring concatenation of string
31 | print("Rules of the Rock paper scissor game as follows: \n"
32 | +"Rock vs paper->paper wins \n"
33 | + "Rock vs scissor->Rock wins \n"
34 | +"paper vs scissor->scissor wins \n")
35 |
36 | while True:
37 | print("Enter choice \n 1. Rock \n 2. paper \n 3. scissor \n")
38 |
39 | # take the input from user
40 | choice = int(input("User turn: "))
41 |
42 | # OR is the short-circuit operator
43 | # if any one of the condition is true
44 | # then it return True value
45 |
46 | # looping until user enter invalid input
47 | while choice > 3 or choice < 1:
48 | choice = int(input("Enter valid input: "))
49 |
50 |
51 | # corresponding to the choice value
52 | if choice == 1:
53 | choice_name = 'Rock'
54 | elif choice == 2:
55 | choice_name = 'paper'
56 | else:
57 | choice_name = 'scissor'
58 |
59 | # print user choice
60 | print(game[choice-1])
61 | print("user choice is: " + choice_name)
62 | print("\nNow its computer turn.......")
63 |
64 | # Computer chooses randomly any number
65 | # among 1 , 2 and 3. Using randint method
66 | # of random module
67 | comp_choice = random.randint(1, 3)
68 |
69 | # initialize value of comp_choice_name
70 | # variable corresponding to the choice value
71 | if comp_choice == 1:
72 | comp_choice_name = 'Rock'
73 | elif comp_choice == 2:
74 | comp_choice_name = 'paper'
75 | else:
76 | comp_choice_name = 'scissor'
77 |
78 | print("Computer choice is: " + comp_choice_name)
79 | print(game[comp_choice-1])
80 |
81 |
82 | print("\n" + choice_name + " V/s " + comp_choice_name + "\n")
83 |
84 | # condition for winning
85 | if((choice == 1 and comp_choice == 2) or
86 | (choice == 2 and comp_choice ==1 )):
87 | print("paper wins")
88 | result = "paper"
89 |
90 | elif((choice == 1 and comp_choice == 3) or
91 | (choice == 3 and comp_choice == 1)):
92 | print("Rock wins")
93 | result = "Rock"
94 |
95 | # Condition for draw
96 | elif(choice==comp_choice):
97 | print("Draw")
98 | result = 1
99 |
100 | else:
101 | print("scissor wins", end = "")
102 | result = "scissor"
103 |
104 |
105 | # Printing either user or computer wins
106 | if result == choice_name:
107 | print("== User wins ==")
108 |
109 | elif result == 1:
110 | print("== No one wins ==")
111 |
112 | else:
113 | print("== Computer wins ==")
114 |
115 | print("Do you want to play again? (Y/N)")
116 | ans = input()
117 |
118 |
119 | # if user input n or N then condition is True
120 | if ans == 'n' or ans == 'N':
121 | break
122 |
123 | # after coming out of the while loop
124 | # we print thanks for playing
125 | print("\nThanks for playing !!")
--------------------------------------------------------------------------------
/ping_pong_game/pong.py:
--------------------------------------------------------------------------------
1 | import turtle
2 |
3 | score_a = 0
4 | score_b = 0
5 |
6 | #screen
7 | screen = turtle.Screen()
8 | screen.title("Pong Game")
9 | screen.bgcolor("#415a80")
10 | screen.setup(width=800, height=600)
11 | screen.tracer(0)
12 |
13 | #paddle a
14 | paddle_a = turtle.Turtle()
15 | paddle_a.speed(0)
16 | paddle_a.shape("square")
17 | paddle_a.color("#a5d4dc")
18 | paddle_a.shapesize(stretch_wid=5, stretch_len=1)
19 | paddle_a.penup()
20 | paddle_a.goto(-350, 0)
21 |
22 | #paddle b
23 | paddle_b = turtle.Turtle()
24 | paddle_b.speed(0)
25 | paddle_b.shape("square")
26 | paddle_b.color("#a5d4dc")
27 | paddle_b.shapesize(stretch_wid=5, stretch_len=1)
28 | paddle_b.penup()
29 | paddle_b.goto(350, 0)
30 |
31 | #ball
32 | ball = turtle.Turtle()
33 | ball.speed(0)
34 | ball.shape("square")
35 | ball.color("#dfd8cb")
36 | ball.penup()
37 | ball.goto(0, 0)
38 | ball.dx = 0.1
39 | ball.dy = -0.1
40 |
41 | #pen
42 | pen = turtle.Turtle()
43 | pen.speed(0)
44 | pen.color("#d7e2e6")
45 | pen.penup()
46 | pen.hideturtle()
47 | pen.goto(0, 260)
48 | pen.write("Player A: 0 Player B: 0", align= "center", font=("Courier", 19, "bold"))
49 |
50 | #functions
51 |
52 | #paddle a up
53 | def paddle_a_up():
54 | y = paddle_a.ycor()
55 | y += 30
56 | paddle_a.sety(y)
57 |
58 | #paddle a down
59 | def paddle_a_down():
60 | y = paddle_a.ycor()
61 | y -= 30
62 | paddle_a.sety(y)
63 |
64 | #paddle b up
65 | def paddle_b_up():
66 | y = paddle_b.ycor()
67 | y += 30
68 | paddle_b.sety(y)
69 |
70 | #paddle b down
71 | def paddle_b_down():
72 | y = paddle_b.ycor()
73 | y -= 30
74 | paddle_b.sety(y)
75 |
76 | #keyboard binding
77 | screen.listen()
78 | screen.onkeypress(paddle_a_up, "w")
79 | screen.onkeypress(paddle_a_down, "s")
80 | screen.onkeypress(paddle_b_up, "Up")
81 | screen.onkeypress(paddle_b_down, "Down")
82 |
83 | while True:
84 | screen.update()
85 |
86 | #move the ball
87 | ball.setx(ball.xcor() + ball.dx)
88 | ball.sety(ball.ycor() + ball.dy)
89 |
90 | #checking the border
91 | if ball.ycor() > 280:
92 | ball.sety(280)
93 | ball.dy *= -1
94 |
95 | if ball.ycor() < -280:
96 | ball.sety(-280)
97 | ball.dy *= -1
98 |
99 | #left & right
100 | if(ball.xcor() < -340 and ball.xcor() > -350) and (paddle_a.ycor() + 50 > ball.ycor() > paddle_a.ycor() - 50):
101 | score_a += 1
102 | pen.clear()
103 | pen.write("Player A: {} Player B: {}".format(score_a, score_b), align="center", font=("Courier", 19, "bold"))
104 | if ball.xcor() > 380:
105 | score_a = 0
106 | pen.clear()
107 | pen.write("Player A: {} Player B: {}".format(score_a, score_b), align="center", font=("Courier", 19, "bold"))
108 | ball.goto(0, 0)
109 | ball.dx *= -1
110 |
111 | if (ball.xcor() > 340 and ball.xcor() < 350) and (paddle_b.ycor() + 50 > ball.ycor() > paddle_b.ycor() - 50):
112 | score_b += 1
113 | pen.clear()
114 | pen.write("Player A: {} Player B: {}".format(score_a, score_b), align="center", font=("Courier", 19, "bold"))
115 | if ball.xcor() < -380:
116 | score_b = 0
117 | pen.clear()
118 | pen.write("Player A: {} Player B: {}".format(score_a, score_b), align="center", font=("Courier", 19, "bold"))
119 | ball.goto(0, 0)
120 | ball.dx *= -1
121 |
122 | #paddle and ball collide
123 | if(ball.xcor() > 340 and ball.xcor() < 350) and (paddle_b.ycor() + 50 > ball.ycor() > paddle_b.ycor() - 50):
124 | ball.setx(340)
125 | ball.dx *= -1
126 |
127 | if (ball.xcor() < -340 and ball.xcor() > -350) and (paddle_a.ycor() + 50 > ball.ycor() > paddle_a.ycor() - 50):
128 | ball.setx(-340)
129 | ball.dx *= -1
130 |
--------------------------------------------------------------------------------
/Assistant/Virtual_Assistant.py:
--------------------------------------------------------------------------------
1 | import pyttsx3
2 | import speech_recognition as sr
3 | import datetime
4 | import wikipedia
5 | import webbrowser
6 | import os
7 | import smtplib
8 |
9 |
10 | engine = pyttsx3.init('sapi5')
11 | voices = engine.getProperty('voices')
12 | # print(voices[1].id)
13 | engine.setProperty('voice', voices[1].id)
14 |
15 |
16 | def speak(audio):
17 | engine.say(audio)
18 | engine.runAndWait()
19 |
20 |
21 | def wishMe():
22 | hour = int(datetime.datetime.now().hour)
23 | if hour >= 0 and hour < 12:
24 | speak("Good Morning!")
25 |
26 | elif hour >= 12 and hour < 18:
27 | speak("Good Afternoon!")
28 |
29 | else:
30 | speak("Good Evening!")
31 |
32 | speak("Welcome Master Pratibha. I am Alpha. Please tell me how may I help you ?")
33 |
34 |
35 | def takeCommand():
36 | # It takes microphone input from the user and returns string output
37 |
38 | r = sr.Recognizer()
39 | with sr.Microphone() as source:
40 | print("Listening...")
41 | r.pause_threshold = 1
42 | audio = r.listen(source)
43 |
44 | try:
45 | print("Recognizing...")
46 | query = r.recognize_google(audio, language='en-in')
47 | print(f"User said: {query}\n")
48 |
49 | except Exception as e:
50 | # print(e)
51 | print("Say that again please...")
52 | return "None"
53 | return query
54 |
55 |
56 | def sendEmail(to, content):
57 | server = smtplib.SMTP('smtp.gmail.com', 587)
58 | server.ehlo()
59 | server.starttls()
60 | server.login('youremail@gmail.com', 'your-password')
61 | server.sendmail('youremail@gmail.com', to, content)
62 | server.close()
63 |
64 |
65 | if __name__ == "__main__":
66 | wishMe()
67 | #chrome_path = 'open -a /Applications/Google\ Chrome.app %s'
68 | while True:
69 | # if 1:
70 | query = takeCommand().lower()
71 | # webbrowser.get(using='chrome')
72 | # Logic for executing tasks based on query
73 | if 'wikipedia' in query:
74 | speak('Searching Wikipedia...')
75 | query = query.replace("wikipedia", "")
76 | results = wikipedia.summary(query, sentences=2)
77 | speak("According to Wikipedia")
78 | print(results)
79 | speak(results)
80 |
81 | elif 'open youtube' in query:
82 | speak('opening Youtube...')
83 | webbrowser.open("youtube.com")
84 |
85 | elif 'open google' in query:
86 | webbrowser.open("google.com")
87 |
88 | elif 'open stackoverflow' in query:
89 | webbrowser.open("stackoverflow.com")
90 |
91 | elif 'play music' in query:
92 | music_dir = 'D:\\Non Critical\\songs\\Favorite Songs2'
93 | songs = os.listdir(music_dir)
94 | print(songs)
95 | os.startfile(os.path.join(music_dir, songs[0]))
96 |
97 | elif 'the time' in query:
98 | strTime = datetime.datetime.now().strftime("%H:%M:%S")
99 | hour = int(datetime.datetime.now().hour)
100 | if hour >= 12:
101 | hour = hour-12
102 | minutes = int(datetime.datetime.now().min)
103 |
104 | speak(f"Mam, the time is {hour} hours {minutes} minutes")
105 |
106 | elif 'your name' in query:
107 | speak(f"Mam, My name is Alpha")
108 |
109 | elif 'email to Pratibha' in query:
110 | try:
111 | speak("What should I say?")
112 | content = takeCommand()
113 | to = "singhpratibha433@gmail.com"
114 | sendEmail(to, content)
115 | speak("Email has been sent!")
116 | except Exception as e:
117 | print(e)
118 | speak("Sorry my friend . I am not able to send this email")
119 |
--------------------------------------------------------------------------------
/Tic-tac-toe/tictac.py:
--------------------------------------------------------------------------------
1 | #Implementation of Two Player Tic-Tac-Toe game in Python.
2 |
3 | ''' We will make the board using dictionary
4 | in which keys will be the location(i.e : top-left,mid-right,etc.)
5 | and initialliy it's values will be empty space and then after every move
6 | we will change the value according to player's choice of move. '''
7 |
8 | theBoard = {'7': ' ' , '8': ' ' , '9': ' ' ,
9 | '4': ' ' , '5': ' ' , '6': ' ' ,
10 | '1': ' ' , '2': ' ' , '3': ' ' }
11 |
12 | board_keys = []
13 |
14 | for key in theBoard:
15 | board_keys.append(key)
16 |
17 | ''' We will have to print the updated board after every move in the game and
18 | thus we will make a function in which we'll define the printBoard function
19 | so that we can easily print the board everytime by calling this function. '''
20 |
21 | def printBoard(board):
22 | print(board['7'] + '|' + board['8'] + '|' + board['9'])
23 | print('-+-+-')
24 | print(board['4'] + '|' + board['5'] + '|' + board['6'])
25 | print('-+-+-')
26 | print(board['1'] + '|' + board['2'] + '|' + board['3'])
27 |
28 | # Now we'll write the main function which has all the gameplay functionality.
29 | def game():
30 |
31 | turn = 'X'
32 | count = 0
33 |
34 |
35 | for i in range(10):
36 | printBoard(theBoard)
37 | print("It's your turn," + turn + ".Move to which place?")
38 |
39 | move = input()
40 |
41 | if theBoard[move] == ' ':
42 | theBoard[move] = turn
43 | count += 1
44 | else:
45 | print("That place is already filled.\nMove to which place?")
46 | continue
47 |
48 | # Now we will check if player X or O has won,for every move after 5 moves.
49 | if count >= 5:
50 | if theBoard['7'] == theBoard['8'] == theBoard['9'] != ' ': # across the top
51 | printBoard(theBoard)
52 | print("\nGame Over.\n")
53 | print(" **** " +turn + " won. ****")
54 | break
55 | elif theBoard['4'] == theBoard['5'] == theBoard['6'] != ' ': # across the middle
56 | printBoard(theBoard)
57 | print("\nGame Over.\n")
58 | print(" **** " +turn + " won. ****")
59 | break
60 | elif theBoard['1'] == theBoard['2'] == theBoard['3'] != ' ': # across the bottom
61 | printBoard(theBoard)
62 | print("\nGame Over.\n")
63 | print(" **** " +turn + " won. ****")
64 | break
65 | elif theBoard['1'] == theBoard['4'] == theBoard['7'] != ' ': # down the left side
66 | printBoard(theBoard)
67 | print("\nGame Over.\n")
68 | print(" **** " +turn + " won. ****")
69 | break
70 | elif theBoard['2'] == theBoard['5'] == theBoard['8'] != ' ': # down the middle
71 | printBoard(theBoard)
72 | print("\nGame Over.\n")
73 | print(" **** " +turn + " won. ****")
74 | break
75 | elif theBoard['3'] == theBoard['6'] == theBoard['9'] != ' ': # down the right side
76 | printBoard(theBoard)
77 | print("\nGame Over.\n")
78 | print(" **** " +turn + " won. ****")
79 | break
80 | elif theBoard['7'] == theBoard['5'] == theBoard['3'] != ' ': # diagonal
81 | printBoard(theBoard)
82 | print("\nGame Over.\n")
83 | print(" **** " +turn + " won. ****")
84 | break
85 | elif theBoard['1'] == theBoard['5'] == theBoard['9'] != ' ': # diagonal
86 | printBoard(theBoard)
87 | print("\nGame Over.\n")
88 | print(" **** " +turn + " won. ****")
89 | break
90 |
91 | # If neither X nor O wins and the board is full, we'll declare the result as 'tie'.
92 | if count == 9:
93 | print("\nGame Over.\n")
94 | print("It's a Tie!!")
95 |
96 | # Now we have to change the player after every move.
97 | if turn =='X':
98 | turn = 'O'
99 | else:
100 | turn = 'X'
101 |
102 | # Now we will ask if player wants to restart the game or not.
103 | restart = input("Do want to play Again?(y/n)")
104 | if restart == "y" or restart == "Y":
105 | for key in board_keys:
106 | theBoard[key] = " "
107 |
108 | game()
109 |
110 | if __name__ == "__main__":
111 | game()
112 |
--------------------------------------------------------------------------------
/black_jackgame/blackjack.py:
--------------------------------------------------------------------------------
1 |
2 | ############### Our Blackjack House Rules #####################
3 |
4 | ## The deck is unlimited in size.
5 | ## There are no jokers.
6 | ## The Jack/Queen/King all count as 10.
7 | ## The the Ace can count as 11 or 1.
8 | ## Use the following list as the deck of cards:
9 | ## cards = [11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10]
10 | ## The cards in the list have equal probability of being drawn.
11 | ## Cards are not removed from the deck as they are drawn.
12 | ## The computer is the dealer.
13 |
14 | # Go to this website and try out the Blackjack game:
15 | # https://games.washingtonpost.com/games/blackjack/
16 |
17 | import random
18 | def deal_card():
19 | cards = [11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10]
20 | card =random.choice(cards)
21 | return card
22 | def play_game():
23 | #Hint 5: Deal the user and computer 2 cards each using deal_card() and append().
24 | user_cards = []
25 | computer_cards = []
26 | is_game_over=False
27 | for _ in range(2):
28 | user_cards.append(deal_card())
29 | computer_cards.append(deal_card())
30 |
31 | # print(user_cards)
32 | # print(computer_cards)
33 | #Hint 6: Create a function called calculate_score() that takes a List of cards as input
34 | #and returns the score.
35 | #Look up the sum() function to help you do this.
36 |
37 | def calculate_score(cards):
38 | #Hint 7: Inside calculate_score() check for a blackjack (a hand with only 2 cards: ace + 10) and return 0 instead of the actual score. 0 will represent a blackjack in our game.
39 | if sum(cards)==21 and len(cards)==2:
40 | return 0
41 | #Hint 8: Inside calculate_score() check for an 11 (ace). If the score is already over 21, remove the 11 and replace it with a 1. You might need to look up append() and remove().
42 |
43 | if 11 in cards and sum(cards)>21:
44 | cards.remove(11)
45 | cards.append(1)
46 | return sum(cards)
47 |
48 | #Hint 13: Create a function called compare() and pass in the user_score and computer_score. If the computer and user both have the same score, then it's a draw. If the computer has a blackjack (0), then the user loses. If the user has a blackjack (0), then the user wins. If the user_score is over 21, then the user loses. If the computer_score is over 21, then the computer loses. If none of the above, then the player with the highest score wins.
49 | def compare(user_score,computer_score):
50 | if user_score==computer_score:
51 | return 'Draw'
52 | elif computer_score==0:
53 | return 'Dealer Wins'
54 | elif user_score==0:
55 | return 'User Wins'
56 | elif computer_score >21:
57 | return 'User Wins'
58 | elif user_score >21:
59 | return 'Dealer Wins'
60 | elif user_score>computer_score:
61 | return 'User Wins'
62 | else:
63 | return 'Dealer Wins'
64 |
65 |
66 | #Hint 11: The score will need to be rechecked with every new card drawn and the checks in Hint 9 need to be repeated until the game ends.
67 | while not is_game_over:
68 | #Hint 9: Call calculate_score(). If the computer or the user has a blackjack (0) or if the user's score is over 21, then the game ends.
69 | user_score=calculate_score(user_cards)
70 | computer_score=calculate_score(computer_cards)
71 | print(f"User cards : {user_cards} User's score : {user_score}")
72 | print(f'Computer\'s first card : {computer_cards[0]}')
73 |
74 | if user_score==0 or computer_score==0 or user_score>21:
75 | is_game_over=True
76 | #Hint 10: If the game has not ended, ask the user if they want to draw another card. If yes, then use the deal_card() function to add another card to the user_cards List. If no, then the game has ended.
77 | elif is_game_over==False:
78 | answer=input("Do you want to Draw another card : y or n ")
79 | if answer=='y':
80 | user_cards.append(deal_card())
81 | else:
82 | is_game_over=True
83 |
84 | #Hint 12: Once the user is done, it's time to let the computer play. The computer should keep drawing cards as long as it has a score less than 17.
85 | while computer_score!=0 and computer_score<17:
86 | computer_cards.append(deal_card())
87 | computer_score = calculate_score(computer_cards)
88 |
89 | print(f"User's final hand :{user_cards} User's score : {user_score}")
90 | print(f"Computer's final hand :{computer_cards} Computer's score {computer_score}")
91 | print(compare(user_score,computer_score))
92 | #Hint 14: Ask the user if they want to restart the game. If they answer yes, clear the console and start a new game of blackjack and show the logo from art.py.
93 |
94 |
95 | while(input("Do you want to play the game: y or n ")=='y'):
96 | play_game()
--------------------------------------------------------------------------------
/pacman/pacman.py:
--------------------------------------------------------------------------------
1 | from random import choice
2 | from turtle import *
3 |
4 | from freegames import floor, vector
5 |
6 | state = {"score": 0}
7 | path = Turtle(visible=False)
8 | writer = Turtle(visible=False)
9 | aim = vector(5, 0)
10 | pacman = vector(-40, -80)
11 | ghosts = [
12 | [vector(-180, 160), vector(5, 0)],
13 | [vector(-180, -160), vector(0, 5)],
14 | [vector(100, 160), vector(0, -5)],
15 | [vector(100, -160), vector(-5, 0)],
16 | ]
17 | # fmt: off
18 | tiles = [
19 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
20 | 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0,
21 | 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0,
22 | 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0,
23 | 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0,
24 | 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0,
25 | 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
26 | 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0,
27 | 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0,
28 | 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0,
29 | 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0,
30 | 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0,
31 | 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0,
32 | 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0,
33 | 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0,
34 | 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0,
35 | 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0,
36 | 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0,
37 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
38 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
39 | ]
40 | # fmt: on
41 |
42 |
43 | def square(x, y):
44 | "Draw square using path at (x, y)."
45 | path.up()
46 | path.goto(x, y)
47 | path.down()
48 | path.begin_fill()
49 |
50 | for count in range(4):
51 | path.forward(20)
52 | path.left(90)
53 |
54 | path.end_fill()
55 |
56 |
57 | def offset(point):
58 | "Return offset of point in tiles."
59 | x = (floor(point.x, 20) + 200) / 20
60 | y = (180 - floor(point.y, 20)) / 20
61 | index = int(x + y * 20)
62 | return index
63 |
64 |
65 | def valid(point):
66 | "Return True if point is valid in tiles."
67 | index = offset(point)
68 |
69 | if tiles[index] == 0:
70 | return False
71 |
72 | index = offset(point + 19)
73 |
74 | if tiles[index] == 0:
75 | return False
76 |
77 | return point.x % 20 == 0 or point.y % 20 == 0
78 |
79 |
80 | def world():
81 | "Draw world using path."
82 | bgcolor("black")
83 | path.color("blue")
84 |
85 | for index in range(len(tiles)):
86 | tile = tiles[index]
87 |
88 | if tile > 0:
89 | x = (index % 20) * 20 - 200
90 | y = 180 - (index // 20) * 20
91 | square(x, y)
92 |
93 | if tile == 1:
94 | path.up()
95 | path.goto(x + 10, y + 10)
96 | path.dot(2, "white")
97 |
98 |
99 | def move():
100 | "Move pacman and all ghosts."
101 | writer.undo()
102 | writer.write(state["score"])
103 |
104 | clear()
105 |
106 | if valid(pacman + aim):
107 | pacman.move(aim)
108 |
109 | index = offset(pacman)
110 |
111 | if tiles[index] == 1:
112 | tiles[index] = 2
113 | state["score"] += 1
114 | x = (index % 20) * 20 - 200
115 | y = 180 - (index // 20) * 20
116 | square(x, y)
117 |
118 | up()
119 | goto(pacman.x + 10, pacman.y + 10)
120 | dot(20, "yellow")
121 |
122 | for point, course in ghosts:
123 | if valid(point + course):
124 | point.move(course)
125 | else:
126 | options = [
127 | vector(5, 0),
128 | vector(-5, 0),
129 | vector(0, 5),
130 | vector(0, -5),
131 | ]
132 | plan = choice(options)
133 | course.x = plan.x
134 | course.y = plan.y
135 |
136 | up()
137 | goto(point.x + 10, point.y + 10)
138 | dot(20, "red")
139 |
140 | update()
141 |
142 | for point, course in ghosts:
143 | if abs(pacman - point) < 20:
144 | return
145 |
146 | ontimer(move, 100)
147 |
148 |
149 | def change(x, y):
150 | "Change pacman aim if valid."
151 | if valid(pacman + vector(x, y)):
152 | aim.x = x
153 | aim.y = y
154 |
155 |
156 | setup(420, 420, 370, 0)
157 | hideturtle()
158 | tracer(False)
159 | writer.goto(160, 160)
160 | writer.color("white")
161 | writer.write(state["score"])
162 | listen()
163 | onkey(lambda: change(5, 0), "Right")
164 | onkey(lambda: change(-5, 0), "Left")
165 | onkey(lambda: change(0, 5), "Up")
166 | onkey(lambda: change(0, -5), "Down")
167 | world()
168 | move()
169 | done()
170 |
--------------------------------------------------------------------------------
/higherlowergame/game_data.py:
--------------------------------------------------------------------------------
1 | data = [
2 | {
3 | 'name': 'Instagram',
4 | 'follower_count': 346,
5 | 'description': 'Social media platform',
6 | 'country': 'United States'
7 | },
8 | {
9 | 'name': 'Cristiano Ronaldo',
10 | 'follower_count': 215,
11 | 'description': 'Footballer',
12 | 'country': 'Portugal'
13 | },
14 | {
15 | 'name': 'Ariana Grande',
16 | 'follower_count': 183,
17 | 'description': 'Musician and actress',
18 | 'country': 'United States'
19 | },
20 | {
21 | 'name': 'Dwayne Johnson',
22 | 'follower_count': 181,
23 | 'description': 'Actor and professional wrestler',
24 | 'country': 'United States'
25 | },
26 | {
27 | 'name': 'Selena Gomez',
28 | 'follower_count': 174,
29 | 'description': 'Musician and actress',
30 | 'country': 'United States'
31 | },
32 | {
33 | 'name': 'Kylie Jenner',
34 | 'follower_count': 172,
35 | 'description': 'Reality TV personality and businesswoman and Self-Made Billionaire',
36 | 'country': 'United States'
37 | },
38 | {
39 | 'name': 'Kim Kardashian',
40 | 'follower_count': 167,
41 | 'description': 'Reality TV personality and businesswoman',
42 | 'country': 'United States'
43 | },
44 | {
45 | 'name': 'Lionel Messi',
46 | 'follower_count': 149,
47 | 'description': 'Footballer',
48 | 'country': 'Argentina'
49 | },
50 | {
51 | 'name': 'Beyoncé',
52 | 'follower_count': 145,
53 | 'description': 'Musician',
54 | 'country': 'United States'
55 | },
56 | {
57 | 'name': 'Neymar',
58 | 'follower_count': 138,
59 | 'description': 'Footballer',
60 | 'country': 'Brasil'
61 | },
62 | {
63 | 'name': 'National Geographic',
64 | 'follower_count': 135,
65 | 'description': 'Magazine',
66 | 'country': 'United States'
67 | },
68 | {
69 | 'name': 'Justin Bieber',
70 | 'follower_count': 133,
71 | 'description': 'Musician',
72 | 'country': 'Canada'
73 | },
74 | {
75 | 'name': 'Taylor Swift',
76 | 'follower_count': 131,
77 | 'description': 'Musician',
78 | 'country': 'United States'
79 | },
80 | {
81 | 'name': 'Kendall Jenner',
82 | 'follower_count': 127,
83 | 'description': 'Reality TV personality and Model',
84 | 'country': 'United States'
85 | },
86 | {
87 | 'name': 'Jennifer Lopez',
88 | 'follower_count': 119,
89 | 'description': 'Musician and actress',
90 | 'country': 'United States'
91 | },
92 | {
93 | 'name': 'Nicki Minaj',
94 | 'follower_count': 113,
95 | 'description': 'Musician',
96 | 'country': 'Trinidad and Tobago'
97 | },
98 | {
99 | 'name': 'Nike',
100 | 'follower_count': 109,
101 | 'description': 'Sportswear multinational',
102 | 'country': 'United States'
103 | },
104 | {
105 | 'name': 'Khloé Kardashian',
106 | 'follower_count': 108,
107 | 'description': 'Reality TV personality and businesswoman',
108 | 'country': 'United States'
109 | },
110 | {
111 | 'name': 'Miley Cyrus',
112 | 'follower_count': 107,
113 | 'description': 'Musician and actress',
114 | 'country': 'United States'
115 | },
116 | {
117 | 'name': 'Katy Perry',
118 | 'follower_count': 94,
119 | 'description': 'Musician',
120 | 'country': 'United States'
121 | },
122 | {
123 | 'name': 'Kourtney Kardashian',
124 | 'follower_count': 90,
125 | 'description': 'Reality TV personality',
126 | 'country': 'United States'
127 | },
128 | {
129 | 'name': 'Kevin Hart',
130 | 'follower_count': 89,
131 | 'description': 'Comedian and actor',
132 | 'country': 'United States'
133 | },
134 | {
135 | 'name': 'Ellen DeGeneres',
136 | 'follower_count': 87,
137 | 'description': 'Comedian',
138 | 'country': 'United States'
139 | },
140 | {
141 | 'name': 'Real Madrid CF',
142 | 'follower_count': 86,
143 | 'description': 'Football club',
144 | 'country': 'Spain'
145 | },
146 | {
147 | 'name': 'FC Barcelona',
148 | 'follower_count': 85,
149 | 'description': 'Football club',
150 | 'country': 'Spain'
151 | },
152 | {
153 | 'name': 'Rihanna',
154 | 'follower_count': 81,
155 | 'description': 'Musician and businesswoman',
156 | 'country': 'Barbados'
157 | },
158 | {
159 | 'name': 'Demi Lovato',
160 | 'follower_count': 80,
161 | 'description': 'Musician and actress',
162 | 'country': 'United States'
163 | },
164 | {
165 | 'name': "Victoria's Secret",
166 | 'follower_count': 69,
167 | 'description': 'Lingerie brand',
168 | 'country': 'United States'
169 | },
170 | {
171 | 'name': 'Zendaya',
172 | 'follower_count': 68,
173 | 'description': 'Actress and musician',
174 | 'country': 'United States'
175 | },
176 | {
177 | 'name': 'Shakira',
178 | 'follower_count': 66,
179 | 'description': 'Musician',
180 | 'country': 'Colombia'
181 | },
182 | {
183 | 'name': 'Drake',
184 | 'follower_count': 65,
185 | 'description': 'Musician',
186 | 'country': 'Canada'
187 | },
188 | {
189 | 'name': 'Chris Brown',
190 | 'follower_count': 64,
191 | 'description': 'Musician',
192 | 'country': 'United States'
193 | },
194 | {
195 | 'name': 'LeBron James',
196 | 'follower_count': 63,
197 | 'description': 'Basketball player',
198 | 'country': 'United States'
199 | },
200 | {
201 | 'name': 'Vin Diesel',
202 | 'follower_count': 62,
203 | 'description': 'Actor',
204 | 'country': 'United States'
205 | },
206 | {
207 | 'name': 'Cardi B',
208 | 'follower_count': 67,
209 | 'description': 'Musician',
210 | 'country': 'United States'
211 | },
212 | {
213 | 'name': 'David Beckham',
214 | 'follower_count': 82,
215 | 'description': 'Footballer',
216 | 'country': 'United Kingdom'
217 | },
218 | {
219 | 'name': 'Billie Eilish',
220 | 'follower_count': 61,
221 | 'description': 'Musician',
222 | 'country': 'United States'
223 | },
224 | {
225 | 'name': 'Justin Timberlake',
226 | 'follower_count': 59,
227 | 'description': 'Musician and actor',
228 | 'country': 'United States'
229 | },
230 | {
231 | 'name': 'UEFA Champions League',
232 | 'follower_count': 58,
233 | 'description': 'Club football competition',
234 | 'country': 'Europe'
235 | },
236 | {
237 | 'name': 'NASA',
238 | 'follower_count': 56,
239 | 'description': 'Space agency',
240 | 'country': 'United States'
241 | },
242 | {
243 | 'name': 'Emma Watson',
244 | 'follower_count': 56,
245 | 'description': 'Actress',
246 | 'country': 'United Kingdom'
247 | },
248 | {
249 | 'name': 'Shawn Mendes',
250 | 'follower_count': 57,
251 | 'description': 'Musician',
252 | 'country': 'Canada'
253 | },
254 | {
255 | 'name': 'Virat Kohli',
256 | 'follower_count': 55,
257 | 'description': 'Cricketer',
258 | 'country': 'India'
259 | },
260 | {
261 | 'name': 'Gigi Hadid',
262 | 'follower_count': 54,
263 | 'description': 'Model',
264 | 'country': 'United States'
265 | },
266 | {
267 | 'name': 'Priyanka Chopra Jonas',
268 | 'follower_count': 53,
269 | 'description': 'Actress and musician',
270 | 'country': 'India'
271 | },
272 | {
273 | 'name': '9GAG',
274 | 'follower_count': 52,
275 | 'description': 'Social media platform',
276 | 'country': 'China'
277 | },
278 | {
279 | 'name': 'Ronaldinho',
280 | 'follower_count': 51,
281 | 'description': 'Footballer',
282 | 'country': 'Brasil'
283 | },
284 | {
285 | 'name': 'Maluma',
286 | 'follower_count': 50,
287 | 'description': 'Musician',
288 | 'country': 'Colombia'
289 | },
290 | {
291 | 'name': 'Camila Cabello',
292 | 'follower_count': 49,
293 | 'description': 'Musician',
294 | 'country': 'Cuba'
295 | },
296 | {
297 | 'name': 'NBA',
298 | 'follower_count': 47,
299 | 'description': 'Club Basketball Competition',
300 | 'country': 'United States'
301 | }
302 | ]
303 |
--------------------------------------------------------------------------------
/Flappy-Bird/flappy.py:
--------------------------------------------------------------------------------
1 | import random # For generating random numbers
2 | import sys # We will use sys.exit to exit the program
3 | import pygame
4 | from pygame.locals import * # Basic pygame imports
5 |
6 | # Global Variables for the game
7 | FPS = 32
8 | SCREENWIDTH = 289
9 | SCREENHEIGHT = 511
10 | SCREEN = pygame.display.set_mode((SCREENWIDTH, SCREENHEIGHT))
11 | GROUNDY = SCREENHEIGHT * 0.8
12 | GAME_SPRITES = {}
13 | GAME_SOUNDS = {}
14 | PLAYER = 'gallery/sprites/bird.png'
15 | BACKGROUND = 'gallery/sprites/background.png'
16 | PIPE = 'gallery/sprites/pipe.png'
17 |
18 | def welcomeScreen():
19 | """
20 | Shows welcome images on the screen
21 | """
22 |
23 | playerx = int(SCREENWIDTH/5)
24 | playery = int((SCREENHEIGHT - GAME_SPRITES['player'].get_height())/2)
25 | messagex = int((SCREENWIDTH - GAME_SPRITES['message'].get_width())/2)
26 | messagey = int(SCREENHEIGHT*0.13)
27 | basex = 0
28 | while True:
29 | for event in pygame.event.get():
30 | # if user clicks on cross button, close the game
31 | if event.type == QUIT or (event.type==KEYDOWN and event.key == K_ESCAPE):
32 | pygame.quit()
33 | sys.exit()
34 |
35 | # If the user presses space or up key, start the game for them
36 | elif event.type==KEYDOWN and (event.key==K_SPACE or event.key == K_UP):
37 | return
38 | else:
39 | SCREEN.blit(GAME_SPRITES['background'], (0, 0))
40 | SCREEN.blit(GAME_SPRITES['player'], (playerx, playery))
41 | SCREEN.blit(GAME_SPRITES['message'], (messagex,messagey ))
42 | SCREEN.blit(GAME_SPRITES['base'], (basex, GROUNDY))
43 | pygame.display.update()
44 | FPSCLOCK.tick(FPS)
45 |
46 | def mainGame():
47 | score = 0
48 | playerx = int(SCREENWIDTH/5)
49 | playery = int(SCREENWIDTH/2)
50 | basex = 0
51 |
52 | # Create 2 pipes for blitting on the screen
53 | newPipe1 = getRandomPipe()
54 | newPipe2 = getRandomPipe()
55 |
56 | # my List of upper pipes
57 | upperPipes = [
58 | {'x': SCREENWIDTH+200, 'y':newPipe1[0]['y']},
59 | {'x': SCREENWIDTH+200+(SCREENWIDTH/2), 'y':newPipe2[0]['y']},
60 | ]
61 | # my List of lower pipes
62 | lowerPipes = [
63 | {'x': SCREENWIDTH+200, 'y':newPipe1[1]['y']},
64 | {'x': SCREENWIDTH+200+(SCREENWIDTH/2), 'y':newPipe2[1]['y']},
65 | ]
66 |
67 | pipeVelX = -4
68 |
69 | playerVelY = -9
70 | playerMaxVelY = 10
71 | playerMinVelY = -8
72 | playerAccY = 1
73 |
74 | playerFlapAccv = -8 # velocity while flapping
75 | playerFlapped = False # It is true only when the bird is flapping
76 |
77 |
78 | while True:
79 | for event in pygame.event.get():
80 | if event.type == QUIT or (event.type == KEYDOWN and event.key == K_ESCAPE):
81 | pygame.quit()
82 | sys.exit()
83 | if event.type == KEYDOWN and (event.key == K_SPACE or event.key == K_UP):
84 | if playery > 0:
85 | playerVelY = playerFlapAccv
86 | playerFlapped = True
87 | GAME_SOUNDS['wing'].play()
88 |
89 |
90 | crashTest = isCollide(playerx, playery, upperPipes, lowerPipes) # This function will return true if the player is crashed
91 | if crashTest:
92 | return
93 |
94 | #check for score
95 | playerMidPos = playerx + GAME_SPRITES['player'].get_width()/2
96 | for pipe in upperPipes:
97 | pipeMidPos = pipe['x'] + GAME_SPRITES['pipe'][0].get_width()/2
98 | if pipeMidPos<= playerMidPos < pipeMidPos +4:
99 | score +=1
100 | print(f"Your score is {score}")
101 | GAME_SOUNDS['point'].play()
102 |
103 |
104 | if playerVelY GROUNDY - 25 or playery<0:
150 | GAME_SOUNDS['hit'].play()
151 | return True
152 |
153 | for pipe in upperPipes:
154 | pipeHeight = GAME_SPRITES['pipe'][0].get_height()
155 | if(playery < pipeHeight + pipe['y'] and abs(playerx - pipe['x']) < GAME_SPRITES['pipe'][0].get_width()):
156 | GAME_SOUNDS['hit'].play()
157 | return True
158 |
159 | for pipe in lowerPipes:
160 | if (playery + GAME_SPRITES['player'].get_height() > pipe['y']) and abs(playerx - pipe['x']) < GAME_SPRITES['pipe'][0].get_width():
161 | GAME_SOUNDS['hit'].play()
162 | return True
163 |
164 | return False
165 |
166 | def getRandomPipe():
167 | """
168 | Generate positions of two pipes(one bottom straight and one top rotated ) for blitting on the screen
169 | """
170 | pipeHeight = GAME_SPRITES['pipe'][0].get_height()
171 | offset = SCREENHEIGHT/3
172 | y2 = offset + random.randrange(0, int(SCREENHEIGHT - GAME_SPRITES['base'].get_height() - 1.2 *offset))
173 | pipeX = SCREENWIDTH + 10
174 | y1 = pipeHeight - y2 + offset
175 | pipe = [
176 | {'x': pipeX, 'y': -y1}, #upper Pipe
177 | {'x': pipeX, 'y': y2} #lower Pipe
178 | ]
179 | return pipe
180 |
181 |
182 |
183 |
184 |
185 |
186 | if __name__ == "__main__":
187 | # This will be the main point from where our game will start
188 | pygame.init() # Initialize all pygame's modules
189 | FPSCLOCK = pygame.time.Clock()
190 | pygame.display.set_caption('Flappy Bird by Itasha Modi')
191 | GAME_SPRITES['numbers'] = (
192 | pygame.image.load('gallery/sprites/0.png').convert_alpha(),
193 | pygame.image.load('gallery/sprites/1.png').convert_alpha(),
194 | pygame.image.load('gallery/sprites/2.png').convert_alpha(),
195 | pygame.image.load('gallery/sprites/3.png').convert_alpha(),
196 | pygame.image.load('gallery/sprites/4.png').convert_alpha(),
197 | pygame.image.load('gallery/sprites/5.png').convert_alpha(),
198 | pygame.image.load('gallery/sprites/6.png').convert_alpha(),
199 | pygame.image.load('gallery/sprites/7.png').convert_alpha(),
200 | pygame.image.load('gallery/sprites/8.png').convert_alpha(),
201 | pygame.image.load('gallery/sprites/9.png').convert_alpha(),
202 | )
203 |
204 | GAME_SPRITES['message'] =pygame.image.load('gallery/sprites/message.jpeg').convert_alpha()
205 | GAME_SPRITES['base'] =pygame.image.load('gallery/sprites/base.png').convert_alpha()
206 | GAME_SPRITES['pipe'] =(pygame.transform.rotate(pygame.image.load( PIPE).convert_alpha(), 180),
207 | pygame.image.load(PIPE).convert_alpha()
208 | )
209 |
210 | # Game sounds
211 | GAME_SOUNDS['die'] = pygame.mixer.Sound('gallery/audio/die.wav')
212 | GAME_SOUNDS['hit'] = pygame.mixer.Sound('gallery/audio/hit.wav')
213 | GAME_SOUNDS['point'] = pygame.mixer.Sound('gallery/audio/point.wav')
214 | GAME_SOUNDS['swoosh'] = pygame.mixer.Sound('gallery/audio/swoosh.wav')
215 | GAME_SOUNDS['wing'] = pygame.mixer.Sound('gallery/audio/wing.wav')
216 |
217 | GAME_SPRITES['background'] = pygame.image.load(BACKGROUND).convert()
218 | GAME_SPRITES['player'] = pygame.image.load(PLAYER).convert_alpha()
219 |
220 | while True:
221 | welcomeScreen() # Shows welcome screen to the user until he presses a button
222 | mainGame() # This is the main game function
223 |
--------------------------------------------------------------------------------
/Heart_Disease_Prediction/heart_disease.csv:
--------------------------------------------------------------------------------
1 | Age,Sex,ChestPain,RestBP,Chol,Fbs,RestECG,MaxHR,ExAng,Oldpeak,Slope,Ca,Thal,AHD
2 | 1,63,1,typical,145,233,1,2,150,0,2.3,3,0,fixed,No
3 | 2,67,1,asymptomatic,160,286,0,2,108,1,1.5,2,3,normal,Yes
4 | 3,67,1,asymptomatic,120,229,0,2,129,1,2.6,2,2,reversable,Yes
5 | 4,37,1,nonanginal,130,250,0,0,187,0,3.5,3,0,normal,No
6 | 5,41,0,nontypical,130,204,0,2,172,0,1.4,1,0,normal,No
7 | 6,56,1,nontypical,120,236,0,0,178,0,0.8,1,0,normal,No
8 | 7,62,0,asymptomatic,140,268,0,2,160,0,3.6,3,2,normal,Yes
9 | 8,57,0,asymptomatic,120,354,0,0,163,1,0.6,1,0,normal,No
10 | 9,63,1,asymptomatic,130,254,0,2,147,0,1.4,2,1,reversable,Yes
11 | 10,53,1,asymptomatic,140,203,1,2,155,1,3.1,3,0,reversable,Yes
12 | 11,57,1,asymptomatic,140,192,0,0,148,0,0.4,2,0,fixed,No
13 | 12,56,0,nontypical,140,294,0,2,153,0,1.3,2,0,normal,No
14 | 13,56,1,nonanginal,130,256,1,2,142,1,0.6,2,1,fixed,Yes
15 | 14,44,1,nontypical,120,263,0,0,173,0,0,1,0,reversable,No
16 | 15,52,1,nonanginal,172,199,1,0,162,0,0.5,1,0,reversable,No
17 | 16,57,1,nonanginal,150,168,0,0,174,0,1.6,1,0,normal,No
18 | 17,48,1,nontypical,110,229,0,0,168,0,1,3,0,reversable,Yes
19 | 18,54,1,asymptomatic,140,239,0,0,160,0,1.2,1,0,normal,No
20 | 19,48,0,nonanginal,130,275,0,0,139,0,0.2,1,0,normal,No
21 | 20,49,1,nontypical,130,266,0,0,171,0,0.6,1,0,normal,No
22 | 21,64,1,typical,110,211,0,2,144,1,1.8,2,0,normal,No
23 | 22,58,0,typical,150,283,1,2,162,0,1,1,0,normal,No
24 | 23,58,1,nontypical,120,284,0,2,160,0,1.8,2,0,normal,Yes
25 | 24,58,1,nonanginal,132,224,0,2,173,0,3.2,1,2,reversable,Yes
26 | 25,60,1,asymptomatic,130,206,0,2,132,1,2.4,2,2,reversable,Yes
27 | 26,50,0,nonanginal,120,219,0,0,158,0,1.6,2,0,normal,No
28 | 27,58,0,nonanginal,120,340,0,0,172,0,0,1,0,normal,No
29 | 28,66,0,typical,150,226,0,0,114,0,2.6,3,0,normal,No
30 | 29,43,1,asymptomatic,150,247,0,0,171,0,1.5,1,0,normal,No
31 | 30,40,1,asymptomatic,110,167,0,2,114,1,2,2,0,reversable,Yes
32 | 31,69,0,typical,140,239,0,0,151,0,1.8,1,2,normal,No
33 | 32,60,1,asymptomatic,117,230,1,0,160,1,1.4,1,2,reversable,Yes
34 | 33,64,1,nonanginal,140,335,0,0,158,0,0,1,0,normal,Yes
35 | 34,59,1,asymptomatic,135,234,0,0,161,0,0.5,2,0,reversable,No
36 | 35,44,1,nonanginal,130,233,0,0,179,1,0.4,1,0,normal,No
37 | 36,42,1,asymptomatic,140,226,0,0,178,0,0,1,0,normal,No
38 | 37,43,1,asymptomatic,120,177,0,2,120,1,2.5,2,0,reversable,Yes
39 | 38,57,1,asymptomatic,150,276,0,2,112,1,0.6,2,1,fixed,Yes
40 | 39,55,1,asymptomatic,132,353,0,0,132,1,1.2,2,1,reversable,Yes
41 | 40,61,1,nonanginal,150,243,1,0,137,1,1,2,0,normal,No
42 | 41,65,0,asymptomatic,150,225,0,2,114,0,1,2,3,reversable,Yes
43 | 42,40,1,typical,140,199,0,0,178,1,1.4,1,0,reversable,No
44 | 43,71,0,nontypical,160,302,0,0,162,0,0.4,1,2,normal,No
45 | 44,59,1,nonanginal,150,212,1,0,157,0,1.6,1,0,normal,No
46 | 45,61,0,asymptomatic,130,330,0,2,169,0,0,1,0,normal,Yes
47 | 46,58,1,nonanginal,112,230,0,2,165,0,2.5,2,1,reversable,Yes
48 | 47,51,1,nonanginal,110,175,0,0,123,0,0.6,1,0,normal,No
49 | 48,50,1,asymptomatic,150,243,0,2,128,0,2.6,2,0,reversable,Yes
50 | 49,65,0,nonanginal,140,417,1,2,157,0,0.8,1,1,normal,No
51 | 50,53,1,nonanginal,130,197,1,2,152,0,1.2,3,0,normal,No
52 | 51,41,0,nontypical,105,198,0,0,168,0,0,1,1,normal,No
53 | 52,65,1,asymptomatic,120,177,0,0,140,0,0.4,1,0,reversable,No
54 | 53,44,1,asymptomatic,112,290,0,2,153,0,0,1,1,normal,Yes
55 | 54,44,1,nontypical,130,219,0,2,188,0,0,1,0,normal,No
56 | 55,60,1,asymptomatic,130,253,0,0,144,1,1.4,1,1,reversable,Yes
57 | 56,54,1,asymptomatic,124,266,0,2,109,1,2.2,2,1,reversable,Yes
58 | 57,50,1,nonanginal,140,233,0,0,163,0,0.6,2,1,reversable,Yes
59 | 58,41,1,asymptomatic,110,172,0,2,158,0,0,1,0,reversable,Yes
60 | 59,54,1,nonanginal,125,273,0,2,152,0,0.5,3,1,normal,No
61 | 60,51,1,typical,125,213,0,2,125,1,1.4,1,1,normal,No
62 | 61,51,0,asymptomatic,130,305,0,0,142,1,1.2,2,0,reversable,Yes
63 | 62,46,0,nonanginal,142,177,0,2,160,1,1.4,3,0,normal,No
64 | 63,58,1,asymptomatic,128,216,0,2,131,1,2.2,2,3,reversable,Yes
65 | 64,54,0,nonanginal,135,304,1,0,170,0,0,1,0,normal,No
66 | 65,54,1,asymptomatic,120,188,0,0,113,0,1.4,2,1,reversable,Yes
67 | 66,60,1,asymptomatic,145,282,0,2,142,1,2.8,2,2,reversable,Yes
68 | 67,60,1,nonanginal,140,185,0,2,155,0,3,2,0,normal,Yes
69 | 68,54,1,nonanginal,150,232,0,2,165,0,1.6,1,0,reversable,No
70 | 69,59,1,asymptomatic,170,326,0,2,140,1,3.4,3,0,reversable,Yes
71 | 70,46,1,nonanginal,150,231,0,0,147,0,3.6,2,0,normal,Yes
72 | 71,65,0,nonanginal,155,269,0,0,148,0,0.8,1,0,normal,No
73 | 72,67,1,asymptomatic,125,254,1,0,163,0,0.2,2,2,reversable,Yes
74 | 73,62,1,asymptomatic,120,267,0,0,99,1,1.8,2,2,reversable,Yes
75 | 74,65,1,asymptomatic,110,248,0,2,158,0,0.6,1,2,fixed,Yes
76 | 75,44,1,asymptomatic,110,197,0,2,177,0,0,1,1,normal,Yes
77 | 76,65,0,nonanginal,160,360,0,2,151,0,0.8,1,0,normal,No
78 | 77,60,1,asymptomatic,125,258,0,2,141,1,2.8,2,1,reversable,Yes
79 | 78,51,0,nonanginal,140,308,0,2,142,0,1.5,1,1,normal,No
80 | 79,48,1,nontypical,130,245,0,2,180,0,0.2,2,0,normal,No
81 | 80,58,1,asymptomatic,150,270,0,2,111,1,0.8,1,0,reversable,Yes
82 | 81,45,1,asymptomatic,104,208,0,2,148,1,3,2,0,normal,No
83 | 82,53,0,asymptomatic,130,264,0,2,143,0,0.4,2,0,normal,No
84 | 83,39,1,nonanginal,140,321,0,2,182,0,0,1,0,normal,No
85 | 84,68,1,nonanginal,180,274,1,2,150,1,1.6,2,0,reversable,Yes
86 | 85,52,1,nontypical,120,325,0,0,172,0,0.2,1,0,normal,No
87 | 86,44,1,nonanginal,140,235,0,2,180,0,0,1,0,normal,No
88 | 87,47,1,nonanginal,138,257,0,2,156,0,0,1,0,normal,No
89 | 88,53,0,nonanginal,128,216,0,2,115,0,0,1,0,NA,No
90 | 89,53,0,asymptomatic,138,234,0,2,160,0,0,1,0,normal,No
91 | 90,51,0,nonanginal,130,256,0,2,149,0,0.5,1,0,normal,No
92 | 91,66,1,asymptomatic,120,302,0,2,151,0,0.4,2,0,normal,No
93 | 92,62,0,asymptomatic,160,164,0,2,145,0,6.2,3,3,reversable,Yes
94 | 93,62,1,nonanginal,130,231,0,0,146,0,1.8,2,3,reversable,No
95 | 94,44,0,nonanginal,108,141,0,0,175,0,0.6,2,0,normal,No
96 | 95,63,0,nonanginal,135,252,0,2,172,0,0,1,0,normal,No
97 | 96,52,1,asymptomatic,128,255,0,0,161,1,0,1,1,reversable,Yes
98 | 97,59,1,asymptomatic,110,239,0,2,142,1,1.2,2,1,reversable,Yes
99 | 98,60,0,asymptomatic,150,258,0,2,157,0,2.6,2,2,reversable,Yes
100 | 99,52,1,nontypical,134,201,0,0,158,0,0.8,1,1,normal,No
101 | 100,48,1,asymptomatic,122,222,0,2,186,0,0,1,0,normal,No
102 | 101,45,1,asymptomatic,115,260,0,2,185,0,0,1,0,normal,No
103 | 102,34,1,typical,118,182,0,2,174,0,0,1,0,normal,No
104 | 103,57,0,asymptomatic,128,303,0,2,159,0,0,1,1,normal,No
105 | 104,71,0,nonanginal,110,265,1,2,130,0,0,1,1,normal,No
106 | 105,49,1,nonanginal,120,188,0,0,139,0,2,2,3,reversable,Yes
107 | 106,54,1,nontypical,108,309,0,0,156,0,0,1,0,reversable,No
108 | 107,59,1,asymptomatic,140,177,0,0,162,1,0,1,1,reversable,Yes
109 | 108,57,1,nonanginal,128,229,0,2,150,0,0.4,2,1,reversable,Yes
110 | 109,61,1,asymptomatic,120,260,0,0,140,1,3.6,2,1,reversable,Yes
111 | 110,39,1,asymptomatic,118,219,0,0,140,0,1.2,2,0,reversable,Yes
112 | 111,61,0,asymptomatic,145,307,0,2,146,1,1,2,0,reversable,Yes
113 | 112,56,1,asymptomatic,125,249,1,2,144,1,1.2,2,1,normal,Yes
114 | 113,52,1,typical,118,186,0,2,190,0,0,2,0,fixed,No
115 | 114,43,0,asymptomatic,132,341,1,2,136,1,3,2,0,reversable,Yes
116 | 115,62,0,nonanginal,130,263,0,0,97,0,1.2,2,1,reversable,Yes
117 | 116,41,1,nontypical,135,203,0,0,132,0,0,2,0,fixed,No
118 | 117,58,1,nonanginal,140,211,1,2,165,0,0,1,0,normal,No
119 | 118,35,0,asymptomatic,138,183,0,0,182,0,1.4,1,0,normal,No
120 | 119,63,1,asymptomatic,130,330,1,2,132,1,1.8,1,3,reversable,Yes
121 | 120,65,1,asymptomatic,135,254,0,2,127,0,2.8,2,1,reversable,Yes
122 | 121,48,1,asymptomatic,130,256,1,2,150,1,0,1,2,reversable,Yes
123 | 122,63,0,asymptomatic,150,407,0,2,154,0,4,2,3,reversable,Yes
124 | 123,51,1,nonanginal,100,222,0,0,143,1,1.2,2,0,normal,No
125 | 124,55,1,asymptomatic,140,217,0,0,111,1,5.6,3,0,reversable,Yes
126 | 125,65,1,typical,138,282,1,2,174,0,1.4,2,1,normal,Yes
127 | 126,45,0,nontypical,130,234,0,2,175,0,0.6,2,0,normal,No
128 | 127,56,0,asymptomatic,200,288,1,2,133,1,4,3,2,reversable,Yes
129 | 128,54,1,asymptomatic,110,239,0,0,126,1,2.8,2,1,reversable,Yes
130 | 129,44,1,nontypical,120,220,0,0,170,0,0,1,0,normal,No
131 | 130,62,0,asymptomatic,124,209,0,0,163,0,0,1,0,normal,No
132 | 131,54,1,nonanginal,120,258,0,2,147,0,0.4,2,0,reversable,No
133 | 132,51,1,nonanginal,94,227,0,0,154,1,0,1,1,reversable,No
134 | 133,29,1,nontypical,130,204,0,2,202,0,0,1,0,normal,No
135 | 134,51,1,asymptomatic,140,261,0,2,186,1,0,1,0,normal,No
136 | 135,43,0,nonanginal,122,213,0,0,165,0,0.2,2,0,normal,No
137 | 136,55,0,nontypical,135,250,0,2,161,0,1.4,2,0,normal,No
138 | 137,70,1,asymptomatic,145,174,0,0,125,1,2.6,3,0,reversable,Yes
139 | 138,62,1,nontypical,120,281,0,2,103,0,1.4,2,1,reversable,Yes
140 | 139,35,1,asymptomatic,120,198,0,0,130,1,1.6,2,0,reversable,Yes
141 | 140,51,1,nonanginal,125,245,1,2,166,0,2.4,2,0,normal,No
142 | 141,59,1,nontypical,140,221,0,0,164,1,0,1,0,normal,No
143 | 142,59,1,typical,170,288,0,2,159,0,0.2,2,0,reversable,Yes
144 | 143,52,1,nontypical,128,205,1,0,184,0,0,1,0,normal,No
145 | 144,64,1,nonanginal,125,309,0,0,131,1,1.8,2,0,reversable,Yes
146 | 145,58,1,nonanginal,105,240,0,2,154,1,0.6,2,0,reversable,No
147 | 146,47,1,nonanginal,108,243,0,0,152,0,0,1,0,normal,Yes
148 | 147,57,1,asymptomatic,165,289,1,2,124,0,1,2,3,reversable,Yes
149 | 148,41,1,nonanginal,112,250,0,0,179,0,0,1,0,normal,No
150 | 149,45,1,nontypical,128,308,0,2,170,0,0,1,0,normal,No
151 | 150,60,0,nonanginal,102,318,0,0,160,0,0,1,1,normal,No
152 | 151,52,1,typical,152,298,1,0,178,0,1.2,2,0,reversable,No
153 | 152,42,0,asymptomatic,102,265,0,2,122,0,0.6,2,0,normal,No
154 | 153,67,0,nonanginal,115,564,0,2,160,0,1.6,2,0,reversable,No
155 | 154,55,1,asymptomatic,160,289,0,2,145,1,0.8,2,1,reversable,Yes
156 | 155,64,1,asymptomatic,120,246,0,2,96,1,2.2,3,1,normal,Yes
157 | 156,70,1,asymptomatic,130,322,0,2,109,0,2.4,2,3,normal,Yes
158 | 157,51,1,asymptomatic,140,299,0,0,173,1,1.6,1,0,reversable,Yes
159 | 158,58,1,asymptomatic,125,300,0,2,171,0,0,1,2,reversable,Yes
160 | 159,60,1,asymptomatic,140,293,0,2,170,0,1.2,2,2,reversable,Yes
161 | 160,68,1,nonanginal,118,277,0,0,151,0,1,1,1,reversable,No
162 | 161,46,1,nontypical,101,197,1,0,156,0,0,1,0,reversable,No
163 | 162,77,1,asymptomatic,125,304,0,2,162,1,0,1,3,normal,Yes
164 | 163,54,0,nonanginal,110,214,0,0,158,0,1.6,2,0,normal,No
165 | 164,58,0,asymptomatic,100,248,0,2,122,0,1,2,0,normal,No
166 | 165,48,1,nonanginal,124,255,1,0,175,0,0,1,2,normal,No
167 | 166,57,1,asymptomatic,132,207,0,0,168,1,0,1,0,reversable,No
168 | 167,52,1,nonanginal,138,223,0,0,169,0,0,1,NA,normal,No
169 | 168,54,0,nontypical,132,288,1,2,159,1,0,1,1,normal,No
170 | 169,35,1,asymptomatic,126,282,0,2,156,1,0,1,0,reversable,Yes
171 | 170,45,0,nontypical,112,160,0,0,138,0,0,2,0,normal,No
172 | 171,70,1,nonanginal,160,269,0,0,112,1,2.9,2,1,reversable,Yes
173 | 172,53,1,asymptomatic,142,226,0,2,111,1,0,1,0,reversable,No
174 | 173,59,0,asymptomatic,174,249,0,0,143,1,0,2,0,normal,Yes
175 | 174,62,0,asymptomatic,140,394,0,2,157,0,1.2,2,0,normal,No
176 | 175,64,1,asymptomatic,145,212,0,2,132,0,2,2,2,fixed,Yes
177 | 176,57,1,asymptomatic,152,274,0,0,88,1,1.2,2,1,reversable,Yes
178 | 177,52,1,asymptomatic,108,233,1,0,147,0,0.1,1,3,reversable,No
179 | 178,56,1,asymptomatic,132,184,0,2,105,1,2.1,2,1,fixed,Yes
180 | 179,43,1,nonanginal,130,315,0,0,162,0,1.9,1,1,normal,No
181 | 180,53,1,nonanginal,130,246,1,2,173,0,0,1,3,normal,No
182 | 181,48,1,asymptomatic,124,274,0,2,166,0,0.5,2,0,reversable,Yes
183 | 182,56,0,asymptomatic,134,409,0,2,150,1,1.9,2,2,reversable,Yes
184 | 183,42,1,typical,148,244,0,2,178,0,0.8,1,2,normal,No
185 | 184,59,1,typical,178,270,0,2,145,0,4.2,3,0,reversable,No
186 | 185,60,0,asymptomatic,158,305,0,2,161,0,0,1,0,normal,Yes
187 | 186,63,0,nontypical,140,195,0,0,179,0,0,1,2,normal,No
188 | 187,42,1,nonanginal,120,240,1,0,194,0,0.8,3,0,reversable,No
189 | 188,66,1,nontypical,160,246,0,0,120,1,0,2,3,fixed,Yes
190 | 189,54,1,nontypical,192,283,0,2,195,0,0,1,1,reversable,Yes
191 | 190,69,1,nonanginal,140,254,0,2,146,0,2,2,3,reversable,Yes
192 | 191,50,1,nonanginal,129,196,0,0,163,0,0,1,0,normal,No
193 | 192,51,1,asymptomatic,140,298,0,0,122,1,4.2,2,3,reversable,Yes
194 | 193,43,1,asymptomatic,132,247,1,2,143,1,0.1,2,NA,reversable,Yes
195 | 194,62,0,asymptomatic,138,294,1,0,106,0,1.9,2,3,normal,Yes
196 | 195,68,0,nonanginal,120,211,0,2,115,0,1.5,2,0,normal,No
197 | 196,67,1,asymptomatic,100,299,0,2,125,1,0.9,2,2,normal,Yes
198 | 197,69,1,typical,160,234,1,2,131,0,0.1,2,1,normal,No
199 | 198,45,0,asymptomatic,138,236,0,2,152,1,0.2,2,0,normal,No
200 | 199,50,0,nontypical,120,244,0,0,162,0,1.1,1,0,normal,No
201 | 200,59,1,typical,160,273,0,2,125,0,0,1,0,normal,Yes
202 | 201,50,0,asymptomatic,110,254,0,2,159,0,0,1,0,normal,No
203 | 202,64,0,asymptomatic,180,325,0,0,154,1,0,1,0,normal,No
204 | 203,57,1,nonanginal,150,126,1,0,173,0,0.2,1,1,reversable,No
205 | 204,64,0,nonanginal,140,313,0,0,133,0,0.2,1,0,reversable,No
206 | 205,43,1,asymptomatic,110,211,0,0,161,0,0,1,0,reversable,No
207 | 206,45,1,asymptomatic,142,309,0,2,147,1,0,2,3,reversable,Yes
208 | 207,58,1,asymptomatic,128,259,0,2,130,1,3,2,2,reversable,Yes
209 | 208,50,1,asymptomatic,144,200,0,2,126,1,0.9,2,0,reversable,Yes
210 | 209,55,1,nontypical,130,262,0,0,155,0,0,1,0,normal,No
211 | 210,62,0,asymptomatic,150,244,0,0,154,1,1.4,2,0,normal,Yes
212 | 211,37,0,nonanginal,120,215,0,0,170,0,0,1,0,normal,No
213 | 212,38,1,typical,120,231,0,0,182,1,3.8,2,0,reversable,Yes
214 | 213,41,1,nonanginal,130,214,0,2,168,0,2,2,0,normal,No
215 | 214,66,0,asymptomatic,178,228,1,0,165,1,1,2,2,reversable,Yes
216 | 215,52,1,asymptomatic,112,230,0,0,160,0,0,1,1,normal,Yes
217 | 216,56,1,typical,120,193,0,2,162,0,1.9,2,0,reversable,No
218 | 217,46,0,nontypical,105,204,0,0,172,0,0,1,0,normal,No
219 | 218,46,0,asymptomatic,138,243,0,2,152,1,0,2,0,normal,No
220 | 219,64,0,asymptomatic,130,303,0,0,122,0,2,2,2,normal,No
221 | 220,59,1,asymptomatic,138,271,0,2,182,0,0,1,0,normal,No
222 | 221,41,0,nonanginal,112,268,0,2,172,1,0,1,0,normal,No
223 | 222,54,0,nonanginal,108,267,0,2,167,0,0,1,0,normal,No
224 | 223,39,0,nonanginal,94,199,0,0,179,0,0,1,0,normal,No
225 | 224,53,1,asymptomatic,123,282,0,0,95,1,2,2,2,reversable,Yes
226 | 225,63,0,asymptomatic,108,269,0,0,169,1,1.8,2,2,normal,Yes
227 | 226,34,0,nontypical,118,210,0,0,192,0,0.7,1,0,normal,No
228 | 227,47,1,asymptomatic,112,204,0,0,143,0,0.1,1,0,normal,No
229 | 228,67,0,nonanginal,152,277,0,0,172,0,0,1,1,normal,No
230 | 229,54,1,asymptomatic,110,206,0,2,108,1,0,2,1,normal,Yes
231 | 230,66,1,asymptomatic,112,212,0,2,132,1,0.1,1,1,normal,Yes
232 | 231,52,0,nonanginal,136,196,0,2,169,0,0.1,2,0,normal,No
233 | 232,55,0,asymptomatic,180,327,0,1,117,1,3.4,2,0,normal,Yes
234 | 233,49,1,nonanginal,118,149,0,2,126,0,0.8,1,3,normal,Yes
235 | 234,74,0,nontypical,120,269,0,2,121,1,0.2,1,1,normal,No
236 | 235,54,0,nonanginal,160,201,0,0,163,0,0,1,1,normal,No
237 | 236,54,1,asymptomatic,122,286,0,2,116,1,3.2,2,2,normal,Yes
238 | 237,56,1,asymptomatic,130,283,1,2,103,1,1.6,3,0,reversable,Yes
239 | 238,46,1,asymptomatic,120,249,0,2,144,0,0.8,1,0,reversable,Yes
240 | 239,49,0,nontypical,134,271,0,0,162,0,0,2,0,normal,No
241 | 240,42,1,nontypical,120,295,0,0,162,0,0,1,0,normal,No
242 | 241,41,1,nontypical,110,235,0,0,153,0,0,1,0,normal,No
243 | 242,41,0,nontypical,126,306,0,0,163,0,0,1,0,normal,No
244 | 243,49,0,asymptomatic,130,269,0,0,163,0,0,1,0,normal,No
245 | 244,61,1,typical,134,234,0,0,145,0,2.6,2,2,normal,Yes
246 | 245,60,0,nonanginal,120,178,1,0,96,0,0,1,0,normal,No
247 | 246,67,1,asymptomatic,120,237,0,0,71,0,1,2,0,normal,Yes
248 | 247,58,1,asymptomatic,100,234,0,0,156,0,0.1,1,1,reversable,Yes
249 | 248,47,1,asymptomatic,110,275,0,2,118,1,1,2,1,normal,Yes
250 | 249,52,1,asymptomatic,125,212,0,0,168,0,1,1,2,reversable,Yes
251 | 250,62,1,nontypical,128,208,1,2,140,0,0,1,0,normal,No
252 | 251,57,1,asymptomatic,110,201,0,0,126,1,1.5,2,0,fixed,No
253 | 252,58,1,asymptomatic,146,218,0,0,105,0,2,2,1,reversable,Yes
254 | 253,64,1,asymptomatic,128,263,0,0,105,1,0.2,2,1,reversable,No
255 | 254,51,0,nonanginal,120,295,0,2,157,0,0.6,1,0,normal,No
256 | 255,43,1,asymptomatic,115,303,0,0,181,0,1.2,2,0,normal,No
257 | 256,42,0,nonanginal,120,209,0,0,173,0,0,2,0,normal,No
258 | 257,67,0,asymptomatic,106,223,0,0,142,0,0.3,1,2,normal,No
259 | 258,76,0,nonanginal,140,197,0,1,116,0,1.1,2,0,normal,No
260 | 259,70,1,nontypical,156,245,0,2,143,0,0,1,0,normal,No
261 | 260,57,1,nontypical,124,261,0,0,141,0,0.3,1,0,reversable,Yes
262 | 261,44,0,nonanginal,118,242,0,0,149,0,0.3,2,1,normal,No
263 | 262,58,0,nontypical,136,319,1,2,152,0,0,1,2,normal,Yes
264 | 263,60,0,typical,150,240,0,0,171,0,0.9,1,0,normal,No
265 | 264,44,1,nonanginal,120,226,0,0,169,0,0,1,0,normal,No
266 | 265,61,1,asymptomatic,138,166,0,2,125,1,3.6,2,1,normal,Yes
267 | 266,42,1,asymptomatic,136,315,0,0,125,1,1.8,2,0,fixed,Yes
268 | 267,52,1,asymptomatic,128,204,1,0,156,1,1,2,0,NA,Yes
269 | 268,59,1,nonanginal,126,218,1,0,134,0,2.2,2,1,fixed,Yes
270 | 269,40,1,asymptomatic,152,223,0,0,181,0,0,1,0,reversable,Yes
271 | 270,42,1,nonanginal,130,180,0,0,150,0,0,1,0,normal,No
272 | 271,61,1,asymptomatic,140,207,0,2,138,1,1.9,1,1,reversable,Yes
273 | 272,66,1,asymptomatic,160,228,0,2,138,0,2.3,1,0,fixed,No
274 | 273,46,1,asymptomatic,140,311,0,0,120,1,1.8,2,2,reversable,Yes
275 | 274,71,0,asymptomatic,112,149,0,0,125,0,1.6,2,0,normal,No
276 | 275,59,1,typical,134,204,0,0,162,0,0.8,1,2,normal,Yes
277 | 276,64,1,typical,170,227,0,2,155,0,0.6,2,0,reversable,No
278 | 277,66,0,nonanginal,146,278,0,2,152,0,0,2,1,normal,No
279 | 278,39,0,nonanginal,138,220,0,0,152,0,0,2,0,normal,No
280 | 279,57,1,nontypical,154,232,0,2,164,0,0,1,1,normal,Yes
281 | 280,58,0,asymptomatic,130,197,0,0,131,0,0.6,2,0,normal,No
282 | 281,57,1,asymptomatic,110,335,0,0,143,1,3,2,1,reversable,Yes
283 | 282,47,1,nonanginal,130,253,0,0,179,0,0,1,0,normal,No
284 | 283,55,0,asymptomatic,128,205,0,1,130,1,2,2,1,reversable,Yes
285 | 284,35,1,nontypical,122,192,0,0,174,0,0,1,0,normal,No
286 | 285,61,1,asymptomatic,148,203,0,0,161,0,0,1,1,reversable,Yes
287 | 286,58,1,asymptomatic,114,318,0,1,140,0,4.4,3,3,fixed,Yes
288 | 287,58,0,asymptomatic,170,225,1,2,146,1,2.8,2,2,fixed,Yes
289 | 288,58,1,nontypical,125,220,0,0,144,0,0.4,2,NA,reversable,No
290 | 289,56,1,nontypical,130,221,0,2,163,0,0,1,0,reversable,No
291 | 290,56,1,nontypical,120,240,0,0,169,0,0,3,0,normal,No
292 | 291,67,1,nonanginal,152,212,0,2,150,0,0.8,2,0,reversable,Yes
293 | 292,55,0,nontypical,132,342,0,0,166,0,1.2,1,0,normal,No
294 | 293,44,1,asymptomatic,120,169,0,0,144,1,2.8,3,0,fixed,Yes
295 | 294,63,1,asymptomatic,140,187,0,2,144,1,4,1,2,reversable,Yes
296 | 295,63,0,asymptomatic,124,197,0,0,136,1,0,2,0,normal,Yes
297 | 296,41,1,nontypical,120,157,0,0,182,0,0,1,0,normal,No
298 | 297,59,1,asymptomatic,164,176,1,2,90,0,1,2,2,fixed,Yes
299 | 298,57,0,asymptomatic,140,241,0,0,123,1,0.2,2,0,reversable,Yes
300 | 299,45,1,typical,110,264,0,0,132,0,1.2,2,0,reversable,Yes
301 | 300,68,1,asymptomatic,144,193,1,0,141,0,3.4,2,2,reversable,Yes
302 | 301,57,1,asymptomatic,130,131,0,0,115,1,1.2,2,1,reversable,Yes
303 | 302,57,0,nontypical,130,236,0,2,174,0,0,2,1,normal,Yes
304 | 303,38,1,nonanginal,138,175,0,0,173,0,0,1,NA,normal,No
--------------------------------------------------------------------------------
/Titanic/titanic.csv:
--------------------------------------------------------------------------------
1 | PassengerId,Survived,Pclass,Name,Sex,Age,SibSp,Parch,Ticket,Fare,Cabin,Embarked
2 | 1,0,3,"Braund, Mr. Owen Harris",male,22,1,0,A/5 21171,7.25,,S
3 | 2,1,1,"Cumings, Mrs. John Bradley (Florence Briggs Thayer)",female,38,1,0,PC 17599,71.2833,C85,C
4 | 3,1,3,"Heikkinen, Miss. Laina",female,26,0,0,STON/O2. 3101282,7.925,,S
5 | 4,1,1,"Futrelle, Mrs. Jacques Heath (Lily May Peel)",female,35,1,0,113803,53.1,C123,S
6 | 5,0,3,"Allen, Mr. William Henry",male,35,0,0,373450,8.05,,S
7 | 6,0,3,"Moran, Mr. James",male,,0,0,330877,8.4583,,Q
8 | 7,0,1,"McCarthy, Mr. Timothy J",male,54,0,0,17463,51.8625,E46,S
9 | 8,0,3,"Palsson, Master. Gosta Leonard",male,2,3,1,349909,21.075,,S
10 | 9,1,3,"Johnson, Mrs. Oscar W (Elisabeth Vilhelmina Berg)",female,27,0,2,347742,11.1333,,S
11 | 10,1,2,"Nasser, Mrs. Nicholas (Adele Achem)",female,14,1,0,237736,30.0708,,C
12 | 11,1,3,"Sandstrom, Miss. Marguerite Rut",female,4,1,1,PP 9549,16.7,G6,S
13 | 12,1,1,"Bonnell, Miss. Elizabeth",female,58,0,0,113783,26.55,C103,S
14 | 13,0,3,"Saundercock, Mr. William Henry",male,20,0,0,A/5. 2151,8.05,,S
15 | 14,0,3,"Andersson, Mr. Anders Johan",male,39,1,5,347082,31.275,,S
16 | 15,0,3,"Vestrom, Miss. Hulda Amanda Adolfina",female,14,0,0,350406,7.8542,,S
17 | 16,1,2,"Hewlett, Mrs. (Mary D Kingcome) ",female,55,0,0,248706,16,,S
18 | 17,0,3,"Rice, Master. Eugene",male,2,4,1,382652,29.125,,Q
19 | 18,1,2,"Williams, Mr. Charles Eugene",male,,0,0,244373,13,,S
20 | 19,0,3,"Vander Planke, Mrs. Julius (Emelia Maria Vandemoortele)",female,31,1,0,345763,18,,S
21 | 20,1,3,"Masselmani, Mrs. Fatima",female,,0,0,2649,7.225,,C
22 | 21,0,2,"Fynney, Mr. Joseph J",male,35,0,0,239865,26,,S
23 | 22,1,2,"Beesley, Mr. Lawrence",male,34,0,0,248698,13,D56,S
24 | 23,1,3,"McGowan, Miss. Anna ""Annie""",female,15,0,0,330923,8.0292,,Q
25 | 24,1,1,"Sloper, Mr. William Thompson",male,28,0,0,113788,35.5,A6,S
26 | 25,0,3,"Palsson, Miss. Torborg Danira",female,8,3,1,349909,21.075,,S
27 | 26,1,3,"Asplund, Mrs. Carl Oscar (Selma Augusta Emilia Johansson)",female,38,1,5,347077,31.3875,,S
28 | 27,0,3,"Emir, Mr. Farred Chehab",male,,0,0,2631,7.225,,C
29 | 28,0,1,"Fortune, Mr. Charles Alexander",male,19,3,2,19950,263,C23 C25 C27,S
30 | 29,1,3,"O'Dwyer, Miss. Ellen ""Nellie""",female,,0,0,330959,7.8792,,Q
31 | 30,0,3,"Todoroff, Mr. Lalio",male,,0,0,349216,7.8958,,S
32 | 31,0,1,"Uruchurtu, Don. Manuel E",male,40,0,0,PC 17601,27.7208,,C
33 | 32,1,1,"Spencer, Mrs. William Augustus (Marie Eugenie)",female,,1,0,PC 17569,146.5208,B78,C
34 | 33,1,3,"Glynn, Miss. Mary Agatha",female,,0,0,335677,7.75,,Q
35 | 34,0,2,"Wheadon, Mr. Edward H",male,66,0,0,C.A. 24579,10.5,,S
36 | 35,0,1,"Meyer, Mr. Edgar Joseph",male,28,1,0,PC 17604,82.1708,,C
37 | 36,0,1,"Holverson, Mr. Alexander Oskar",male,42,1,0,113789,52,,S
38 | 37,1,3,"Mamee, Mr. Hanna",male,,0,0,2677,7.2292,,C
39 | 38,0,3,"Cann, Mr. Ernest Charles",male,21,0,0,A./5. 2152,8.05,,S
40 | 39,0,3,"Vander Planke, Miss. Augusta Maria",female,18,2,0,345764,18,,S
41 | 40,1,3,"Nicola-Yarred, Miss. Jamila",female,14,1,0,2651,11.2417,,C
42 | 41,0,3,"Ahlin, Mrs. Johan (Johanna Persdotter Larsson)",female,40,1,0,7546,9.475,,S
43 | 42,0,2,"Turpin, Mrs. William John Robert (Dorothy Ann Wonnacott)",female,27,1,0,11668,21,,S
44 | 43,0,3,"Kraeff, Mr. Theodor",male,,0,0,349253,7.8958,,C
45 | 44,1,2,"Laroche, Miss. Simonne Marie Anne Andree",female,3,1,2,SC/Paris 2123,41.5792,,C
46 | 45,1,3,"Devaney, Miss. Margaret Delia",female,19,0,0,330958,7.8792,,Q
47 | 46,0,3,"Rogers, Mr. William John",male,,0,0,S.C./A.4. 23567,8.05,,S
48 | 47,0,3,"Lennon, Mr. Denis",male,,1,0,370371,15.5,,Q
49 | 48,1,3,"O'Driscoll, Miss. Bridget",female,,0,0,14311,7.75,,Q
50 | 49,0,3,"Samaan, Mr. Youssef",male,,2,0,2662,21.6792,,C
51 | 50,0,3,"Arnold-Franchi, Mrs. Josef (Josefine Franchi)",female,18,1,0,349237,17.8,,S
52 | 51,0,3,"Panula, Master. Juha Niilo",male,7,4,1,3101295,39.6875,,S
53 | 52,0,3,"Nosworthy, Mr. Richard Cater",male,21,0,0,A/4. 39886,7.8,,S
54 | 53,1,1,"Harper, Mrs. Henry Sleeper (Myna Haxtun)",female,49,1,0,PC 17572,76.7292,D33,C
55 | 54,1,2,"Faunthorpe, Mrs. Lizzie (Elizabeth Anne Wilkinson)",female,29,1,0,2926,26,,S
56 | 55,0,1,"Ostby, Mr. Engelhart Cornelius",male,65,0,1,113509,61.9792,B30,C
57 | 56,1,1,"Woolner, Mr. Hugh",male,,0,0,19947,35.5,C52,S
58 | 57,1,2,"Rugg, Miss. Emily",female,21,0,0,C.A. 31026,10.5,,S
59 | 58,0,3,"Novel, Mr. Mansouer",male,28.5,0,0,2697,7.2292,,C
60 | 59,1,2,"West, Miss. Constance Mirium",female,5,1,2,C.A. 34651,27.75,,S
61 | 60,0,3,"Goodwin, Master. William Frederick",male,11,5,2,CA 2144,46.9,,S
62 | 61,0,3,"Sirayanian, Mr. Orsen",male,22,0,0,2669,7.2292,,C
63 | 62,1,1,"Icard, Miss. Amelie",female,38,0,0,113572,80,B28,
64 | 63,0,1,"Harris, Mr. Henry Birkhardt",male,45,1,0,36973,83.475,C83,S
65 | 64,0,3,"Skoog, Master. Harald",male,4,3,2,347088,27.9,,S
66 | 65,0,1,"Stewart, Mr. Albert A",male,,0,0,PC 17605,27.7208,,C
67 | 66,1,3,"Moubarek, Master. Gerios",male,,1,1,2661,15.2458,,C
68 | 67,1,2,"Nye, Mrs. (Elizabeth Ramell)",female,29,0,0,C.A. 29395,10.5,F33,S
69 | 68,0,3,"Crease, Mr. Ernest James",male,19,0,0,S.P. 3464,8.1583,,S
70 | 69,1,3,"Andersson, Miss. Erna Alexandra",female,17,4,2,3101281,7.925,,S
71 | 70,0,3,"Kink, Mr. Vincenz",male,26,2,0,315151,8.6625,,S
72 | 71,0,2,"Jenkin, Mr. Stephen Curnow",male,32,0,0,C.A. 33111,10.5,,S
73 | 72,0,3,"Goodwin, Miss. Lillian Amy",female,16,5,2,CA 2144,46.9,,S
74 | 73,0,2,"Hood, Mr. Ambrose Jr",male,21,0,0,S.O.C. 14879,73.5,,S
75 | 74,0,3,"Chronopoulos, Mr. Apostolos",male,26,1,0,2680,14.4542,,C
76 | 75,1,3,"Bing, Mr. Lee",male,32,0,0,1601,56.4958,,S
77 | 76,0,3,"Moen, Mr. Sigurd Hansen",male,25,0,0,348123,7.65,F G73,S
78 | 77,0,3,"Staneff, Mr. Ivan",male,,0,0,349208,7.8958,,S
79 | 78,0,3,"Moutal, Mr. Rahamin Haim",male,,0,0,374746,8.05,,S
80 | 79,1,2,"Caldwell, Master. Alden Gates",male,0.83,0,2,248738,29,,S
81 | 80,1,3,"Dowdell, Miss. Elizabeth",female,30,0,0,364516,12.475,,S
82 | 81,0,3,"Waelens, Mr. Achille",male,22,0,0,345767,9,,S
83 | 82,1,3,"Sheerlinck, Mr. Jan Baptist",male,29,0,0,345779,9.5,,S
84 | 83,1,3,"McDermott, Miss. Brigdet Delia",female,,0,0,330932,7.7875,,Q
85 | 84,0,1,"Carrau, Mr. Francisco M",male,28,0,0,113059,47.1,,S
86 | 85,1,2,"Ilett, Miss. Bertha",female,17,0,0,SO/C 14885,10.5,,S
87 | 86,1,3,"Backstrom, Mrs. Karl Alfred (Maria Mathilda Gustafsson)",female,33,3,0,3101278,15.85,,S
88 | 87,0,3,"Ford, Mr. William Neal",male,16,1,3,W./C. 6608,34.375,,S
89 | 88,0,3,"Slocovski, Mr. Selman Francis",male,,0,0,SOTON/OQ 392086,8.05,,S
90 | 89,1,1,"Fortune, Miss. Mabel Helen",female,23,3,2,19950,263,C23 C25 C27,S
91 | 90,0,3,"Celotti, Mr. Francesco",male,24,0,0,343275,8.05,,S
92 | 91,0,3,"Christmann, Mr. Emil",male,29,0,0,343276,8.05,,S
93 | 92,0,3,"Andreasson, Mr. Paul Edvin",male,20,0,0,347466,7.8542,,S
94 | 93,0,1,"Chaffee, Mr. Herbert Fuller",male,46,1,0,W.E.P. 5734,61.175,E31,S
95 | 94,0,3,"Dean, Mr. Bertram Frank",male,26,1,2,C.A. 2315,20.575,,S
96 | 95,0,3,"Coxon, Mr. Daniel",male,59,0,0,364500,7.25,,S
97 | 96,0,3,"Shorney, Mr. Charles Joseph",male,,0,0,374910,8.05,,S
98 | 97,0,1,"Goldschmidt, Mr. George B",male,71,0,0,PC 17754,34.6542,A5,C
99 | 98,1,1,"Greenfield, Mr. William Bertram",male,23,0,1,PC 17759,63.3583,D10 D12,C
100 | 99,1,2,"Doling, Mrs. John T (Ada Julia Bone)",female,34,0,1,231919,23,,S
101 | 100,0,2,"Kantor, Mr. Sinai",male,34,1,0,244367,26,,S
102 | 101,0,3,"Petranec, Miss. Matilda",female,28,0,0,349245,7.8958,,S
103 | 102,0,3,"Petroff, Mr. Pastcho (""Pentcho"")",male,,0,0,349215,7.8958,,S
104 | 103,0,1,"White, Mr. Richard Frasar",male,21,0,1,35281,77.2875,D26,S
105 | 104,0,3,"Johansson, Mr. Gustaf Joel",male,33,0,0,7540,8.6542,,S
106 | 105,0,3,"Gustafsson, Mr. Anders Vilhelm",male,37,2,0,3101276,7.925,,S
107 | 106,0,3,"Mionoff, Mr. Stoytcho",male,28,0,0,349207,7.8958,,S
108 | 107,1,3,"Salkjelsvik, Miss. Anna Kristine",female,21,0,0,343120,7.65,,S
109 | 108,1,3,"Moss, Mr. Albert Johan",male,,0,0,312991,7.775,,S
110 | 109,0,3,"Rekic, Mr. Tido",male,38,0,0,349249,7.8958,,S
111 | 110,1,3,"Moran, Miss. Bertha",female,,1,0,371110,24.15,,Q
112 | 111,0,1,"Porter, Mr. Walter Chamberlain",male,47,0,0,110465,52,C110,S
113 | 112,0,3,"Zabour, Miss. Hileni",female,14.5,1,0,2665,14.4542,,C
114 | 113,0,3,"Barton, Mr. David John",male,22,0,0,324669,8.05,,S
115 | 114,0,3,"Jussila, Miss. Katriina",female,20,1,0,4136,9.825,,S
116 | 115,0,3,"Attalah, Miss. Malake",female,17,0,0,2627,14.4583,,C
117 | 116,0,3,"Pekoniemi, Mr. Edvard",male,21,0,0,STON/O 2. 3101294,7.925,,S
118 | 117,0,3,"Connors, Mr. Patrick",male,70.5,0,0,370369,7.75,,Q
119 | 118,0,2,"Turpin, Mr. William John Robert",male,29,1,0,11668,21,,S
120 | 119,0,1,"Baxter, Mr. Quigg Edmond",male,24,0,1,PC 17558,247.5208,B58 B60,C
121 | 120,0,3,"Andersson, Miss. Ellis Anna Maria",female,2,4,2,347082,31.275,,S
122 | 121,0,2,"Hickman, Mr. Stanley George",male,21,2,0,S.O.C. 14879,73.5,,S
123 | 122,0,3,"Moore, Mr. Leonard Charles",male,,0,0,A4. 54510,8.05,,S
124 | 123,0,2,"Nasser, Mr. Nicholas",male,32.5,1,0,237736,30.0708,,C
125 | 124,1,2,"Webber, Miss. Susan",female,32.5,0,0,27267,13,E101,S
126 | 125,0,1,"White, Mr. Percival Wayland",male,54,0,1,35281,77.2875,D26,S
127 | 126,1,3,"Nicola-Yarred, Master. Elias",male,12,1,0,2651,11.2417,,C
128 | 127,0,3,"McMahon, Mr. Martin",male,,0,0,370372,7.75,,Q
129 | 128,1,3,"Madsen, Mr. Fridtjof Arne",male,24,0,0,C 17369,7.1417,,S
130 | 129,1,3,"Peter, Miss. Anna",female,,1,1,2668,22.3583,F E69,C
131 | 130,0,3,"Ekstrom, Mr. Johan",male,45,0,0,347061,6.975,,S
132 | 131,0,3,"Drazenoic, Mr. Jozef",male,33,0,0,349241,7.8958,,C
133 | 132,0,3,"Coelho, Mr. Domingos Fernandeo",male,20,0,0,SOTON/O.Q. 3101307,7.05,,S
134 | 133,0,3,"Robins, Mrs. Alexander A (Grace Charity Laury)",female,47,1,0,A/5. 3337,14.5,,S
135 | 134,1,2,"Weisz, Mrs. Leopold (Mathilde Francoise Pede)",female,29,1,0,228414,26,,S
136 | 135,0,2,"Sobey, Mr. Samuel James Hayden",male,25,0,0,C.A. 29178,13,,S
137 | 136,0,2,"Richard, Mr. Emile",male,23,0,0,SC/PARIS 2133,15.0458,,C
138 | 137,1,1,"Newsom, Miss. Helen Monypeny",female,19,0,2,11752,26.2833,D47,S
139 | 138,0,1,"Futrelle, Mr. Jacques Heath",male,37,1,0,113803,53.1,C123,S
140 | 139,0,3,"Osen, Mr. Olaf Elon",male,16,0,0,7534,9.2167,,S
141 | 140,0,1,"Giglio, Mr. Victor",male,24,0,0,PC 17593,79.2,B86,C
142 | 141,0,3,"Boulos, Mrs. Joseph (Sultana)",female,,0,2,2678,15.2458,,C
143 | 142,1,3,"Nysten, Miss. Anna Sofia",female,22,0,0,347081,7.75,,S
144 | 143,1,3,"Hakkarainen, Mrs. Pekka Pietari (Elin Matilda Dolck)",female,24,1,0,STON/O2. 3101279,15.85,,S
145 | 144,0,3,"Burke, Mr. Jeremiah",male,19,0,0,365222,6.75,,Q
146 | 145,0,2,"Andrew, Mr. Edgardo Samuel",male,18,0,0,231945,11.5,,S
147 | 146,0,2,"Nicholls, Mr. Joseph Charles",male,19,1,1,C.A. 33112,36.75,,S
148 | 147,1,3,"Andersson, Mr. August Edvard (""Wennerstrom"")",male,27,0,0,350043,7.7958,,S
149 | 148,0,3,"Ford, Miss. Robina Maggie ""Ruby""",female,9,2,2,W./C. 6608,34.375,,S
150 | 149,0,2,"Navratil, Mr. Michel (""Louis M Hoffman"")",male,36.5,0,2,230080,26,F2,S
151 | 150,0,2,"Byles, Rev. Thomas Roussel Davids",male,42,0,0,244310,13,,S
152 | 151,0,2,"Bateman, Rev. Robert James",male,51,0,0,S.O.P. 1166,12.525,,S
153 | 152,1,1,"Pears, Mrs. Thomas (Edith Wearne)",female,22,1,0,113776,66.6,C2,S
154 | 153,0,3,"Meo, Mr. Alfonzo",male,55.5,0,0,A.5. 11206,8.05,,S
155 | 154,0,3,"van Billiard, Mr. Austin Blyler",male,40.5,0,2,A/5. 851,14.5,,S
156 | 155,0,3,"Olsen, Mr. Ole Martin",male,,0,0,Fa 265302,7.3125,,S
157 | 156,0,1,"Williams, Mr. Charles Duane",male,51,0,1,PC 17597,61.3792,,C
158 | 157,1,3,"Gilnagh, Miss. Katherine ""Katie""",female,16,0,0,35851,7.7333,,Q
159 | 158,0,3,"Corn, Mr. Harry",male,30,0,0,SOTON/OQ 392090,8.05,,S
160 | 159,0,3,"Smiljanic, Mr. Mile",male,,0,0,315037,8.6625,,S
161 | 160,0,3,"Sage, Master. Thomas Henry",male,,8,2,CA. 2343,69.55,,S
162 | 161,0,3,"Cribb, Mr. John Hatfield",male,44,0,1,371362,16.1,,S
163 | 162,1,2,"Watt, Mrs. James (Elizabeth ""Bessie"" Inglis Milne)",female,40,0,0,C.A. 33595,15.75,,S
164 | 163,0,3,"Bengtsson, Mr. John Viktor",male,26,0,0,347068,7.775,,S
165 | 164,0,3,"Calic, Mr. Jovo",male,17,0,0,315093,8.6625,,S
166 | 165,0,3,"Panula, Master. Eino Viljami",male,1,4,1,3101295,39.6875,,S
167 | 166,1,3,"Goldsmith, Master. Frank John William ""Frankie""",male,9,0,2,363291,20.525,,S
168 | 167,1,1,"Chibnall, Mrs. (Edith Martha Bowerman)",female,,0,1,113505,55,E33,S
169 | 168,0,3,"Skoog, Mrs. William (Anna Bernhardina Karlsson)",female,45,1,4,347088,27.9,,S
170 | 169,0,1,"Baumann, Mr. John D",male,,0,0,PC 17318,25.925,,S
171 | 170,0,3,"Ling, Mr. Lee",male,28,0,0,1601,56.4958,,S
172 | 171,0,1,"Van der hoef, Mr. Wyckoff",male,61,0,0,111240,33.5,B19,S
173 | 172,0,3,"Rice, Master. Arthur",male,4,4,1,382652,29.125,,Q
174 | 173,1,3,"Johnson, Miss. Eleanor Ileen",female,1,1,1,347742,11.1333,,S
175 | 174,0,3,"Sivola, Mr. Antti Wilhelm",male,21,0,0,STON/O 2. 3101280,7.925,,S
176 | 175,0,1,"Smith, Mr. James Clinch",male,56,0,0,17764,30.6958,A7,C
177 | 176,0,3,"Klasen, Mr. Klas Albin",male,18,1,1,350404,7.8542,,S
178 | 177,0,3,"Lefebre, Master. Henry Forbes",male,,3,1,4133,25.4667,,S
179 | 178,0,1,"Isham, Miss. Ann Elizabeth",female,50,0,0,PC 17595,28.7125,C49,C
180 | 179,0,2,"Hale, Mr. Reginald",male,30,0,0,250653,13,,S
181 | 180,0,3,"Leonard, Mr. Lionel",male,36,0,0,LINE,0,,S
182 | 181,0,3,"Sage, Miss. Constance Gladys",female,,8,2,CA. 2343,69.55,,S
183 | 182,0,2,"Pernot, Mr. Rene",male,,0,0,SC/PARIS 2131,15.05,,C
184 | 183,0,3,"Asplund, Master. Clarence Gustaf Hugo",male,9,4,2,347077,31.3875,,S
185 | 184,1,2,"Becker, Master. Richard F",male,1,2,1,230136,39,F4,S
186 | 185,1,3,"Kink-Heilmann, Miss. Luise Gretchen",female,4,0,2,315153,22.025,,S
187 | 186,0,1,"Rood, Mr. Hugh Roscoe",male,,0,0,113767,50,A32,S
188 | 187,1,3,"O'Brien, Mrs. Thomas (Johanna ""Hannah"" Godfrey)",female,,1,0,370365,15.5,,Q
189 | 188,1,1,"Romaine, Mr. Charles Hallace (""Mr C Rolmane"")",male,45,0,0,111428,26.55,,S
190 | 189,0,3,"Bourke, Mr. John",male,40,1,1,364849,15.5,,Q
191 | 190,0,3,"Turcin, Mr. Stjepan",male,36,0,0,349247,7.8958,,S
192 | 191,1,2,"Pinsky, Mrs. (Rosa)",female,32,0,0,234604,13,,S
193 | 192,0,2,"Carbines, Mr. William",male,19,0,0,28424,13,,S
194 | 193,1,3,"Andersen-Jensen, Miss. Carla Christine Nielsine",female,19,1,0,350046,7.8542,,S
195 | 194,1,2,"Navratil, Master. Michel M",male,3,1,1,230080,26,F2,S
196 | 195,1,1,"Brown, Mrs. James Joseph (Margaret Tobin)",female,44,0,0,PC 17610,27.7208,B4,C
197 | 196,1,1,"Lurette, Miss. Elise",female,58,0,0,PC 17569,146.5208,B80,C
198 | 197,0,3,"Mernagh, Mr. Robert",male,,0,0,368703,7.75,,Q
199 | 198,0,3,"Olsen, Mr. Karl Siegwart Andreas",male,42,0,1,4579,8.4042,,S
200 | 199,1,3,"Madigan, Miss. Margaret ""Maggie""",female,,0,0,370370,7.75,,Q
201 | 200,0,2,"Yrois, Miss. Henriette (""Mrs Harbeck"")",female,24,0,0,248747,13,,S
202 | 201,0,3,"Vande Walle, Mr. Nestor Cyriel",male,28,0,0,345770,9.5,,S
203 | 202,0,3,"Sage, Mr. Frederick",male,,8,2,CA. 2343,69.55,,S
204 | 203,0,3,"Johanson, Mr. Jakob Alfred",male,34,0,0,3101264,6.4958,,S
205 | 204,0,3,"Youseff, Mr. Gerious",male,45.5,0,0,2628,7.225,,C
206 | 205,1,3,"Cohen, Mr. Gurshon ""Gus""",male,18,0,0,A/5 3540,8.05,,S
207 | 206,0,3,"Strom, Miss. Telma Matilda",female,2,0,1,347054,10.4625,G6,S
208 | 207,0,3,"Backstrom, Mr. Karl Alfred",male,32,1,0,3101278,15.85,,S
209 | 208,1,3,"Albimona, Mr. Nassef Cassem",male,26,0,0,2699,18.7875,,C
210 | 209,1,3,"Carr, Miss. Helen ""Ellen""",female,16,0,0,367231,7.75,,Q
211 | 210,1,1,"Blank, Mr. Henry",male,40,0,0,112277,31,A31,C
212 | 211,0,3,"Ali, Mr. Ahmed",male,24,0,0,SOTON/O.Q. 3101311,7.05,,S
213 | 212,1,2,"Cameron, Miss. Clear Annie",female,35,0,0,F.C.C. 13528,21,,S
214 | 213,0,3,"Perkin, Mr. John Henry",male,22,0,0,A/5 21174,7.25,,S
215 | 214,0,2,"Givard, Mr. Hans Kristensen",male,30,0,0,250646,13,,S
216 | 215,0,3,"Kiernan, Mr. Philip",male,,1,0,367229,7.75,,Q
217 | 216,1,1,"Newell, Miss. Madeleine",female,31,1,0,35273,113.275,D36,C
218 | 217,1,3,"Honkanen, Miss. Eliina",female,27,0,0,STON/O2. 3101283,7.925,,S
219 | 218,0,2,"Jacobsohn, Mr. Sidney Samuel",male,42,1,0,243847,27,,S
220 | 219,1,1,"Bazzani, Miss. Albina",female,32,0,0,11813,76.2917,D15,C
221 | 220,0,2,"Harris, Mr. Walter",male,30,0,0,W/C 14208,10.5,,S
222 | 221,1,3,"Sunderland, Mr. Victor Francis",male,16,0,0,SOTON/OQ 392089,8.05,,S
223 | 222,0,2,"Bracken, Mr. James H",male,27,0,0,220367,13,,S
224 | 223,0,3,"Green, Mr. George Henry",male,51,0,0,21440,8.05,,S
225 | 224,0,3,"Nenkoff, Mr. Christo",male,,0,0,349234,7.8958,,S
226 | 225,1,1,"Hoyt, Mr. Frederick Maxfield",male,38,1,0,19943,90,C93,S
227 | 226,0,3,"Berglund, Mr. Karl Ivar Sven",male,22,0,0,PP 4348,9.35,,S
228 | 227,1,2,"Mellors, Mr. William John",male,19,0,0,SW/PP 751,10.5,,S
229 | 228,0,3,"Lovell, Mr. John Hall (""Henry"")",male,20.5,0,0,A/5 21173,7.25,,S
230 | 229,0,2,"Fahlstrom, Mr. Arne Jonas",male,18,0,0,236171,13,,S
231 | 230,0,3,"Lefebre, Miss. Mathilde",female,,3,1,4133,25.4667,,S
232 | 231,1,1,"Harris, Mrs. Henry Birkhardt (Irene Wallach)",female,35,1,0,36973,83.475,C83,S
233 | 232,0,3,"Larsson, Mr. Bengt Edvin",male,29,0,0,347067,7.775,,S
234 | 233,0,2,"Sjostedt, Mr. Ernst Adolf",male,59,0,0,237442,13.5,,S
235 | 234,1,3,"Asplund, Miss. Lillian Gertrud",female,5,4,2,347077,31.3875,,S
236 | 235,0,2,"Leyson, Mr. Robert William Norman",male,24,0,0,C.A. 29566,10.5,,S
237 | 236,0,3,"Harknett, Miss. Alice Phoebe",female,,0,0,W./C. 6609,7.55,,S
238 | 237,0,2,"Hold, Mr. Stephen",male,44,1,0,26707,26,,S
239 | 238,1,2,"Collyer, Miss. Marjorie ""Lottie""",female,8,0,2,C.A. 31921,26.25,,S
240 | 239,0,2,"Pengelly, Mr. Frederick William",male,19,0,0,28665,10.5,,S
241 | 240,0,2,"Hunt, Mr. George Henry",male,33,0,0,SCO/W 1585,12.275,,S
242 | 241,0,3,"Zabour, Miss. Thamine",female,,1,0,2665,14.4542,,C
243 | 242,1,3,"Murphy, Miss. Katherine ""Kate""",female,,1,0,367230,15.5,,Q
244 | 243,0,2,"Coleridge, Mr. Reginald Charles",male,29,0,0,W./C. 14263,10.5,,S
245 | 244,0,3,"Maenpaa, Mr. Matti Alexanteri",male,22,0,0,STON/O 2. 3101275,7.125,,S
246 | 245,0,3,"Attalah, Mr. Sleiman",male,30,0,0,2694,7.225,,C
247 | 246,0,1,"Minahan, Dr. William Edward",male,44,2,0,19928,90,C78,Q
248 | 247,0,3,"Lindahl, Miss. Agda Thorilda Viktoria",female,25,0,0,347071,7.775,,S
249 | 248,1,2,"Hamalainen, Mrs. William (Anna)",female,24,0,2,250649,14.5,,S
250 | 249,1,1,"Beckwith, Mr. Richard Leonard",male,37,1,1,11751,52.5542,D35,S
251 | 250,0,2,"Carter, Rev. Ernest Courtenay",male,54,1,0,244252,26,,S
252 | 251,0,3,"Reed, Mr. James George",male,,0,0,362316,7.25,,S
253 | 252,0,3,"Strom, Mrs. Wilhelm (Elna Matilda Persson)",female,29,1,1,347054,10.4625,G6,S
254 | 253,0,1,"Stead, Mr. William Thomas",male,62,0,0,113514,26.55,C87,S
255 | 254,0,3,"Lobb, Mr. William Arthur",male,30,1,0,A/5. 3336,16.1,,S
256 | 255,0,3,"Rosblom, Mrs. Viktor (Helena Wilhelmina)",female,41,0,2,370129,20.2125,,S
257 | 256,1,3,"Touma, Mrs. Darwis (Hanne Youssef Razi)",female,29,0,2,2650,15.2458,,C
258 | 257,1,1,"Thorne, Mrs. Gertrude Maybelle",female,,0,0,PC 17585,79.2,,C
259 | 258,1,1,"Cherry, Miss. Gladys",female,30,0,0,110152,86.5,B77,S
260 | 259,1,1,"Ward, Miss. Anna",female,35,0,0,PC 17755,512.3292,,C
261 | 260,1,2,"Parrish, Mrs. (Lutie Davis)",female,50,0,1,230433,26,,S
262 | 261,0,3,"Smith, Mr. Thomas",male,,0,0,384461,7.75,,Q
263 | 262,1,3,"Asplund, Master. Edvin Rojj Felix",male,3,4,2,347077,31.3875,,S
264 | 263,0,1,"Taussig, Mr. Emil",male,52,1,1,110413,79.65,E67,S
265 | 264,0,1,"Harrison, Mr. William",male,40,0,0,112059,0,B94,S
266 | 265,0,3,"Henry, Miss. Delia",female,,0,0,382649,7.75,,Q
267 | 266,0,2,"Reeves, Mr. David",male,36,0,0,C.A. 17248,10.5,,S
268 | 267,0,3,"Panula, Mr. Ernesti Arvid",male,16,4,1,3101295,39.6875,,S
269 | 268,1,3,"Persson, Mr. Ernst Ulrik",male,25,1,0,347083,7.775,,S
270 | 269,1,1,"Graham, Mrs. William Thompson (Edith Junkins)",female,58,0,1,PC 17582,153.4625,C125,S
271 | 270,1,1,"Bissette, Miss. Amelia",female,35,0,0,PC 17760,135.6333,C99,S
272 | 271,0,1,"Cairns, Mr. Alexander",male,,0,0,113798,31,,S
273 | 272,1,3,"Tornquist, Mr. William Henry",male,25,0,0,LINE,0,,S
274 | 273,1,2,"Mellinger, Mrs. (Elizabeth Anne Maidment)",female,41,0,1,250644,19.5,,S
275 | 274,0,1,"Natsch, Mr. Charles H",male,37,0,1,PC 17596,29.7,C118,C
276 | 275,1,3,"Healy, Miss. Hanora ""Nora""",female,,0,0,370375,7.75,,Q
277 | 276,1,1,"Andrews, Miss. Kornelia Theodosia",female,63,1,0,13502,77.9583,D7,S
278 | 277,0,3,"Lindblom, Miss. Augusta Charlotta",female,45,0,0,347073,7.75,,S
279 | 278,0,2,"Parkes, Mr. Francis ""Frank""",male,,0,0,239853,0,,S
280 | 279,0,3,"Rice, Master. Eric",male,7,4,1,382652,29.125,,Q
281 | 280,1,3,"Abbott, Mrs. Stanton (Rosa Hunt)",female,35,1,1,C.A. 2673,20.25,,S
282 | 281,0,3,"Duane, Mr. Frank",male,65,0,0,336439,7.75,,Q
283 | 282,0,3,"Olsson, Mr. Nils Johan Goransson",male,28,0,0,347464,7.8542,,S
284 | 283,0,3,"de Pelsmaeker, Mr. Alfons",male,16,0,0,345778,9.5,,S
285 | 284,1,3,"Dorking, Mr. Edward Arthur",male,19,0,0,A/5. 10482,8.05,,S
286 | 285,0,1,"Smith, Mr. Richard William",male,,0,0,113056,26,A19,S
287 | 286,0,3,"Stankovic, Mr. Ivan",male,33,0,0,349239,8.6625,,C
288 | 287,1,3,"de Mulder, Mr. Theodore",male,30,0,0,345774,9.5,,S
289 | 288,0,3,"Naidenoff, Mr. Penko",male,22,0,0,349206,7.8958,,S
290 | 289,1,2,"Hosono, Mr. Masabumi",male,42,0,0,237798,13,,S
291 | 290,1,3,"Connolly, Miss. Kate",female,22,0,0,370373,7.75,,Q
292 | 291,1,1,"Barber, Miss. Ellen ""Nellie""",female,26,0,0,19877,78.85,,S
293 | 292,1,1,"Bishop, Mrs. Dickinson H (Helen Walton)",female,19,1,0,11967,91.0792,B49,C
294 | 293,0,2,"Levy, Mr. Rene Jacques",male,36,0,0,SC/Paris 2163,12.875,D,C
295 | 294,0,3,"Haas, Miss. Aloisia",female,24,0,0,349236,8.85,,S
296 | 295,0,3,"Mineff, Mr. Ivan",male,24,0,0,349233,7.8958,,S
297 | 296,0,1,"Lewy, Mr. Ervin G",male,,0,0,PC 17612,27.7208,,C
298 | 297,0,3,"Hanna, Mr. Mansour",male,23.5,0,0,2693,7.2292,,C
299 | 298,0,1,"Allison, Miss. Helen Loraine",female,2,1,2,113781,151.55,C22 C26,S
300 | 299,1,1,"Saalfeld, Mr. Adolphe",male,,0,0,19988,30.5,C106,S
301 | 300,1,1,"Baxter, Mrs. James (Helene DeLaudeniere Chaput)",female,50,0,1,PC 17558,247.5208,B58 B60,C
302 | 301,1,3,"Kelly, Miss. Anna Katherine ""Annie Kate""",female,,0,0,9234,7.75,,Q
303 | 302,1,3,"McCoy, Mr. Bernard",male,,2,0,367226,23.25,,Q
304 | 303,0,3,"Johnson, Mr. William Cahoone Jr",male,19,0,0,LINE,0,,S
305 | 304,1,2,"Keane, Miss. Nora A",female,,0,0,226593,12.35,E101,Q
306 | 305,0,3,"Williams, Mr. Howard Hugh ""Harry""",male,,0,0,A/5 2466,8.05,,S
307 | 306,1,1,"Allison, Master. Hudson Trevor",male,0.92,1,2,113781,151.55,C22 C26,S
308 | 307,1,1,"Fleming, Miss. Margaret",female,,0,0,17421,110.8833,,C
309 | 308,1,1,"Penasco y Castellana, Mrs. Victor de Satode (Maria Josefa Perez de Soto y Vallejo)",female,17,1,0,PC 17758,108.9,C65,C
310 | 309,0,2,"Abelson, Mr. Samuel",male,30,1,0,P/PP 3381,24,,C
311 | 310,1,1,"Francatelli, Miss. Laura Mabel",female,30,0,0,PC 17485,56.9292,E36,C
312 | 311,1,1,"Hays, Miss. Margaret Bechstein",female,24,0,0,11767,83.1583,C54,C
313 | 312,1,1,"Ryerson, Miss. Emily Borie",female,18,2,2,PC 17608,262.375,B57 B59 B63 B66,C
314 | 313,0,2,"Lahtinen, Mrs. William (Anna Sylfven)",female,26,1,1,250651,26,,S
315 | 314,0,3,"Hendekovic, Mr. Ignjac",male,28,0,0,349243,7.8958,,S
316 | 315,0,2,"Hart, Mr. Benjamin",male,43,1,1,F.C.C. 13529,26.25,,S
317 | 316,1,3,"Nilsson, Miss. Helmina Josefina",female,26,0,0,347470,7.8542,,S
318 | 317,1,2,"Kantor, Mrs. Sinai (Miriam Sternin)",female,24,1,0,244367,26,,S
319 | 318,0,2,"Moraweck, Dr. Ernest",male,54,0,0,29011,14,,S
320 | 319,1,1,"Wick, Miss. Mary Natalie",female,31,0,2,36928,164.8667,C7,S
321 | 320,1,1,"Spedden, Mrs. Frederic Oakley (Margaretta Corning Stone)",female,40,1,1,16966,134.5,E34,C
322 | 321,0,3,"Dennis, Mr. Samuel",male,22,0,0,A/5 21172,7.25,,S
323 | 322,0,3,"Danoff, Mr. Yoto",male,27,0,0,349219,7.8958,,S
324 | 323,1,2,"Slayter, Miss. Hilda Mary",female,30,0,0,234818,12.35,,Q
325 | 324,1,2,"Caldwell, Mrs. Albert Francis (Sylvia Mae Harbaugh)",female,22,1,1,248738,29,,S
326 | 325,0,3,"Sage, Mr. George John Jr",male,,8,2,CA. 2343,69.55,,S
327 | 326,1,1,"Young, Miss. Marie Grice",female,36,0,0,PC 17760,135.6333,C32,C
328 | 327,0,3,"Nysveen, Mr. Johan Hansen",male,61,0,0,345364,6.2375,,S
329 | 328,1,2,"Ball, Mrs. (Ada E Hall)",female,36,0,0,28551,13,D,S
330 | 329,1,3,"Goldsmith, Mrs. Frank John (Emily Alice Brown)",female,31,1,1,363291,20.525,,S
331 | 330,1,1,"Hippach, Miss. Jean Gertrude",female,16,0,1,111361,57.9792,B18,C
332 | 331,1,3,"McCoy, Miss. Agnes",female,,2,0,367226,23.25,,Q
333 | 332,0,1,"Partner, Mr. Austen",male,45.5,0,0,113043,28.5,C124,S
334 | 333,0,1,"Graham, Mr. George Edward",male,38,0,1,PC 17582,153.4625,C91,S
335 | 334,0,3,"Vander Planke, Mr. Leo Edmondus",male,16,2,0,345764,18,,S
336 | 335,1,1,"Frauenthal, Mrs. Henry William (Clara Heinsheimer)",female,,1,0,PC 17611,133.65,,S
337 | 336,0,3,"Denkoff, Mr. Mitto",male,,0,0,349225,7.8958,,S
338 | 337,0,1,"Pears, Mr. Thomas Clinton",male,29,1,0,113776,66.6,C2,S
339 | 338,1,1,"Burns, Miss. Elizabeth Margaret",female,41,0,0,16966,134.5,E40,C
340 | 339,1,3,"Dahl, Mr. Karl Edwart",male,45,0,0,7598,8.05,,S
341 | 340,0,1,"Blackwell, Mr. Stephen Weart",male,45,0,0,113784,35.5,T,S
342 | 341,1,2,"Navratil, Master. Edmond Roger",male,2,1,1,230080,26,F2,S
343 | 342,1,1,"Fortune, Miss. Alice Elizabeth",female,24,3,2,19950,263,C23 C25 C27,S
344 | 343,0,2,"Collander, Mr. Erik Gustaf",male,28,0,0,248740,13,,S
345 | 344,0,2,"Sedgwick, Mr. Charles Frederick Waddington",male,25,0,0,244361,13,,S
346 | 345,0,2,"Fox, Mr. Stanley Hubert",male,36,0,0,229236,13,,S
347 | 346,1,2,"Brown, Miss. Amelia ""Mildred""",female,24,0,0,248733,13,F33,S
348 | 347,1,2,"Smith, Miss. Marion Elsie",female,40,0,0,31418,13,,S
349 | 348,1,3,"Davison, Mrs. Thomas Henry (Mary E Finck)",female,,1,0,386525,16.1,,S
350 | 349,1,3,"Coutts, Master. William Loch ""William""",male,3,1,1,C.A. 37671,15.9,,S
351 | 350,0,3,"Dimic, Mr. Jovan",male,42,0,0,315088,8.6625,,S
352 | 351,0,3,"Odahl, Mr. Nils Martin",male,23,0,0,7267,9.225,,S
353 | 352,0,1,"Williams-Lambert, Mr. Fletcher Fellows",male,,0,0,113510,35,C128,S
354 | 353,0,3,"Elias, Mr. Tannous",male,15,1,1,2695,7.2292,,C
355 | 354,0,3,"Arnold-Franchi, Mr. Josef",male,25,1,0,349237,17.8,,S
356 | 355,0,3,"Yousif, Mr. Wazli",male,,0,0,2647,7.225,,C
357 | 356,0,3,"Vanden Steen, Mr. Leo Peter",male,28,0,0,345783,9.5,,S
358 | 357,1,1,"Bowerman, Miss. Elsie Edith",female,22,0,1,113505,55,E33,S
359 | 358,0,2,"Funk, Miss. Annie Clemmer",female,38,0,0,237671,13,,S
360 | 359,1,3,"McGovern, Miss. Mary",female,,0,0,330931,7.8792,,Q
361 | 360,1,3,"Mockler, Miss. Helen Mary ""Ellie""",female,,0,0,330980,7.8792,,Q
362 | 361,0,3,"Skoog, Mr. Wilhelm",male,40,1,4,347088,27.9,,S
363 | 362,0,2,"del Carlo, Mr. Sebastiano",male,29,1,0,SC/PARIS 2167,27.7208,,C
364 | 363,0,3,"Barbara, Mrs. (Catherine David)",female,45,0,1,2691,14.4542,,C
365 | 364,0,3,"Asim, Mr. Adola",male,35,0,0,SOTON/O.Q. 3101310,7.05,,S
366 | 365,0,3,"O'Brien, Mr. Thomas",male,,1,0,370365,15.5,,Q
367 | 366,0,3,"Adahl, Mr. Mauritz Nils Martin",male,30,0,0,C 7076,7.25,,S
368 | 367,1,1,"Warren, Mrs. Frank Manley (Anna Sophia Atkinson)",female,60,1,0,110813,75.25,D37,C
369 | 368,1,3,"Moussa, Mrs. (Mantoura Boulos)",female,,0,0,2626,7.2292,,C
370 | 369,1,3,"Jermyn, Miss. Annie",female,,0,0,14313,7.75,,Q
371 | 370,1,1,"Aubart, Mme. Leontine Pauline",female,24,0,0,PC 17477,69.3,B35,C
372 | 371,1,1,"Harder, Mr. George Achilles",male,25,1,0,11765,55.4417,E50,C
373 | 372,0,3,"Wiklund, Mr. Jakob Alfred",male,18,1,0,3101267,6.4958,,S
374 | 373,0,3,"Beavan, Mr. William Thomas",male,19,0,0,323951,8.05,,S
375 | 374,0,1,"Ringhini, Mr. Sante",male,22,0,0,PC 17760,135.6333,,C
376 | 375,0,3,"Palsson, Miss. Stina Viola",female,3,3,1,349909,21.075,,S
377 | 376,1,1,"Meyer, Mrs. Edgar Joseph (Leila Saks)",female,,1,0,PC 17604,82.1708,,C
378 | 377,1,3,"Landergren, Miss. Aurora Adelia",female,22,0,0,C 7077,7.25,,S
379 | 378,0,1,"Widener, Mr. Harry Elkins",male,27,0,2,113503,211.5,C82,C
380 | 379,0,3,"Betros, Mr. Tannous",male,20,0,0,2648,4.0125,,C
381 | 380,0,3,"Gustafsson, Mr. Karl Gideon",male,19,0,0,347069,7.775,,S
382 | 381,1,1,"Bidois, Miss. Rosalie",female,42,0,0,PC 17757,227.525,,C
383 | 382,1,3,"Nakid, Miss. Maria (""Mary"")",female,1,0,2,2653,15.7417,,C
384 | 383,0,3,"Tikkanen, Mr. Juho",male,32,0,0,STON/O 2. 3101293,7.925,,S
385 | 384,1,1,"Holverson, Mrs. Alexander Oskar (Mary Aline Towner)",female,35,1,0,113789,52,,S
386 | 385,0,3,"Plotcharsky, Mr. Vasil",male,,0,0,349227,7.8958,,S
387 | 386,0,2,"Davies, Mr. Charles Henry",male,18,0,0,S.O.C. 14879,73.5,,S
388 | 387,0,3,"Goodwin, Master. Sidney Leonard",male,1,5,2,CA 2144,46.9,,S
389 | 388,1,2,"Buss, Miss. Kate",female,36,0,0,27849,13,,S
390 | 389,0,3,"Sadlier, Mr. Matthew",male,,0,0,367655,7.7292,,Q
391 | 390,1,2,"Lehmann, Miss. Bertha",female,17,0,0,SC 1748,12,,C
392 | 391,1,1,"Carter, Mr. William Ernest",male,36,1,2,113760,120,B96 B98,S
393 | 392,1,3,"Jansson, Mr. Carl Olof",male,21,0,0,350034,7.7958,,S
394 | 393,0,3,"Gustafsson, Mr. Johan Birger",male,28,2,0,3101277,7.925,,S
395 | 394,1,1,"Newell, Miss. Marjorie",female,23,1,0,35273,113.275,D36,C
396 | 395,1,3,"Sandstrom, Mrs. Hjalmar (Agnes Charlotta Bengtsson)",female,24,0,2,PP 9549,16.7,G6,S
397 | 396,0,3,"Johansson, Mr. Erik",male,22,0,0,350052,7.7958,,S
398 | 397,0,3,"Olsson, Miss. Elina",female,31,0,0,350407,7.8542,,S
399 | 398,0,2,"McKane, Mr. Peter David",male,46,0,0,28403,26,,S
400 | 399,0,2,"Pain, Dr. Alfred",male,23,0,0,244278,10.5,,S
401 | 400,1,2,"Trout, Mrs. William H (Jessie L)",female,28,0,0,240929,12.65,,S
402 | 401,1,3,"Niskanen, Mr. Juha",male,39,0,0,STON/O 2. 3101289,7.925,,S
403 | 402,0,3,"Adams, Mr. John",male,26,0,0,341826,8.05,,S
404 | 403,0,3,"Jussila, Miss. Mari Aina",female,21,1,0,4137,9.825,,S
405 | 404,0,3,"Hakkarainen, Mr. Pekka Pietari",male,28,1,0,STON/O2. 3101279,15.85,,S
406 | 405,0,3,"Oreskovic, Miss. Marija",female,20,0,0,315096,8.6625,,S
407 | 406,0,2,"Gale, Mr. Shadrach",male,34,1,0,28664,21,,S
408 | 407,0,3,"Widegren, Mr. Carl/Charles Peter",male,51,0,0,347064,7.75,,S
409 | 408,1,2,"Richards, Master. William Rowe",male,3,1,1,29106,18.75,,S
410 | 409,0,3,"Birkeland, Mr. Hans Martin Monsen",male,21,0,0,312992,7.775,,S
411 | 410,0,3,"Lefebre, Miss. Ida",female,,3,1,4133,25.4667,,S
412 | 411,0,3,"Sdycoff, Mr. Todor",male,,0,0,349222,7.8958,,S
413 | 412,0,3,"Hart, Mr. Henry",male,,0,0,394140,6.8583,,Q
414 | 413,1,1,"Minahan, Miss. Daisy E",female,33,1,0,19928,90,C78,Q
415 | 414,0,2,"Cunningham, Mr. Alfred Fleming",male,,0,0,239853,0,,S
416 | 415,1,3,"Sundman, Mr. Johan Julian",male,44,0,0,STON/O 2. 3101269,7.925,,S
417 | 416,0,3,"Meek, Mrs. Thomas (Annie Louise Rowley)",female,,0,0,343095,8.05,,S
418 | 417,1,2,"Drew, Mrs. James Vivian (Lulu Thorne Christian)",female,34,1,1,28220,32.5,,S
419 | 418,1,2,"Silven, Miss. Lyyli Karoliina",female,18,0,2,250652,13,,S
420 | 419,0,2,"Matthews, Mr. William John",male,30,0,0,28228,13,,S
421 | 420,0,3,"Van Impe, Miss. Catharina",female,10,0,2,345773,24.15,,S
422 | 421,0,3,"Gheorgheff, Mr. Stanio",male,,0,0,349254,7.8958,,C
423 | 422,0,3,"Charters, Mr. David",male,21,0,0,A/5. 13032,7.7333,,Q
424 | 423,0,3,"Zimmerman, Mr. Leo",male,29,0,0,315082,7.875,,S
425 | 424,0,3,"Danbom, Mrs. Ernst Gilbert (Anna Sigrid Maria Brogren)",female,28,1,1,347080,14.4,,S
426 | 425,0,3,"Rosblom, Mr. Viktor Richard",male,18,1,1,370129,20.2125,,S
427 | 426,0,3,"Wiseman, Mr. Phillippe",male,,0,0,A/4. 34244,7.25,,S
428 | 427,1,2,"Clarke, Mrs. Charles V (Ada Maria Winfield)",female,28,1,0,2003,26,,S
429 | 428,1,2,"Phillips, Miss. Kate Florence (""Mrs Kate Louise Phillips Marshall"")",female,19,0,0,250655,26,,S
430 | 429,0,3,"Flynn, Mr. James",male,,0,0,364851,7.75,,Q
431 | 430,1,3,"Pickard, Mr. Berk (Berk Trembisky)",male,32,0,0,SOTON/O.Q. 392078,8.05,E10,S
432 | 431,1,1,"Bjornstrom-Steffansson, Mr. Mauritz Hakan",male,28,0,0,110564,26.55,C52,S
433 | 432,1,3,"Thorneycroft, Mrs. Percival (Florence Kate White)",female,,1,0,376564,16.1,,S
434 | 433,1,2,"Louch, Mrs. Charles Alexander (Alice Adelaide Slow)",female,42,1,0,SC/AH 3085,26,,S
435 | 434,0,3,"Kallio, Mr. Nikolai Erland",male,17,0,0,STON/O 2. 3101274,7.125,,S
436 | 435,0,1,"Silvey, Mr. William Baird",male,50,1,0,13507,55.9,E44,S
437 | 436,1,1,"Carter, Miss. Lucile Polk",female,14,1,2,113760,120,B96 B98,S
438 | 437,0,3,"Ford, Miss. Doolina Margaret ""Daisy""",female,21,2,2,W./C. 6608,34.375,,S
439 | 438,1,2,"Richards, Mrs. Sidney (Emily Hocking)",female,24,2,3,29106,18.75,,S
440 | 439,0,1,"Fortune, Mr. Mark",male,64,1,4,19950,263,C23 C25 C27,S
441 | 440,0,2,"Kvillner, Mr. Johan Henrik Johannesson",male,31,0,0,C.A. 18723,10.5,,S
442 | 441,1,2,"Hart, Mrs. Benjamin (Esther Ada Bloomfield)",female,45,1,1,F.C.C. 13529,26.25,,S
443 | 442,0,3,"Hampe, Mr. Leon",male,20,0,0,345769,9.5,,S
444 | 443,0,3,"Petterson, Mr. Johan Emil",male,25,1,0,347076,7.775,,S
445 | 444,1,2,"Reynaldo, Ms. Encarnacion",female,28,0,0,230434,13,,S
446 | 445,1,3,"Johannesen-Bratthammer, Mr. Bernt",male,,0,0,65306,8.1125,,S
447 | 446,1,1,"Dodge, Master. Washington",male,4,0,2,33638,81.8583,A34,S
448 | 447,1,2,"Mellinger, Miss. Madeleine Violet",female,13,0,1,250644,19.5,,S
449 | 448,1,1,"Seward, Mr. Frederic Kimber",male,34,0,0,113794,26.55,,S
450 | 449,1,3,"Baclini, Miss. Marie Catherine",female,5,2,1,2666,19.2583,,C
451 | 450,1,1,"Peuchen, Major. Arthur Godfrey",male,52,0,0,113786,30.5,C104,S
452 | 451,0,2,"West, Mr. Edwy Arthur",male,36,1,2,C.A. 34651,27.75,,S
453 | 452,0,3,"Hagland, Mr. Ingvald Olai Olsen",male,,1,0,65303,19.9667,,S
454 | 453,0,1,"Foreman, Mr. Benjamin Laventall",male,30,0,0,113051,27.75,C111,C
455 | 454,1,1,"Goldenberg, Mr. Samuel L",male,49,1,0,17453,89.1042,C92,C
456 | 455,0,3,"Peduzzi, Mr. Joseph",male,,0,0,A/5 2817,8.05,,S
457 | 456,1,3,"Jalsevac, Mr. Ivan",male,29,0,0,349240,7.8958,,C
458 | 457,0,1,"Millet, Mr. Francis Davis",male,65,0,0,13509,26.55,E38,S
459 | 458,1,1,"Kenyon, Mrs. Frederick R (Marion)",female,,1,0,17464,51.8625,D21,S
460 | 459,1,2,"Toomey, Miss. Ellen",female,50,0,0,F.C.C. 13531,10.5,,S
461 | 460,0,3,"O'Connor, Mr. Maurice",male,,0,0,371060,7.75,,Q
462 | 461,1,1,"Anderson, Mr. Harry",male,48,0,0,19952,26.55,E12,S
463 | 462,0,3,"Morley, Mr. William",male,34,0,0,364506,8.05,,S
464 | 463,0,1,"Gee, Mr. Arthur H",male,47,0,0,111320,38.5,E63,S
465 | 464,0,2,"Milling, Mr. Jacob Christian",male,48,0,0,234360,13,,S
466 | 465,0,3,"Maisner, Mr. Simon",male,,0,0,A/S 2816,8.05,,S
467 | 466,0,3,"Goncalves, Mr. Manuel Estanslas",male,38,0,0,SOTON/O.Q. 3101306,7.05,,S
468 | 467,0,2,"Campbell, Mr. William",male,,0,0,239853,0,,S
469 | 468,0,1,"Smart, Mr. John Montgomery",male,56,0,0,113792,26.55,,S
470 | 469,0,3,"Scanlan, Mr. James",male,,0,0,36209,7.725,,Q
471 | 470,1,3,"Baclini, Miss. Helene Barbara",female,0.75,2,1,2666,19.2583,,C
472 | 471,0,3,"Keefe, Mr. Arthur",male,,0,0,323592,7.25,,S
473 | 472,0,3,"Cacic, Mr. Luka",male,38,0,0,315089,8.6625,,S
474 | 473,1,2,"West, Mrs. Edwy Arthur (Ada Mary Worth)",female,33,1,2,C.A. 34651,27.75,,S
475 | 474,1,2,"Jerwan, Mrs. Amin S (Marie Marthe Thuillard)",female,23,0,0,SC/AH Basle 541,13.7917,D,C
476 | 475,0,3,"Strandberg, Miss. Ida Sofia",female,22,0,0,7553,9.8375,,S
477 | 476,0,1,"Clifford, Mr. George Quincy",male,,0,0,110465,52,A14,S
478 | 477,0,2,"Renouf, Mr. Peter Henry",male,34,1,0,31027,21,,S
479 | 478,0,3,"Braund, Mr. Lewis Richard",male,29,1,0,3460,7.0458,,S
480 | 479,0,3,"Karlsson, Mr. Nils August",male,22,0,0,350060,7.5208,,S
481 | 480,1,3,"Hirvonen, Miss. Hildur E",female,2,0,1,3101298,12.2875,,S
482 | 481,0,3,"Goodwin, Master. Harold Victor",male,9,5,2,CA 2144,46.9,,S
483 | 482,0,2,"Frost, Mr. Anthony Wood ""Archie""",male,,0,0,239854,0,,S
484 | 483,0,3,"Rouse, Mr. Richard Henry",male,50,0,0,A/5 3594,8.05,,S
485 | 484,1,3,"Turkula, Mrs. (Hedwig)",female,63,0,0,4134,9.5875,,S
486 | 485,1,1,"Bishop, Mr. Dickinson H",male,25,1,0,11967,91.0792,B49,C
487 | 486,0,3,"Lefebre, Miss. Jeannie",female,,3,1,4133,25.4667,,S
488 | 487,1,1,"Hoyt, Mrs. Frederick Maxfield (Jane Anne Forby)",female,35,1,0,19943,90,C93,S
489 | 488,0,1,"Kent, Mr. Edward Austin",male,58,0,0,11771,29.7,B37,C
490 | 489,0,3,"Somerton, Mr. Francis William",male,30,0,0,A.5. 18509,8.05,,S
491 | 490,1,3,"Coutts, Master. Eden Leslie ""Neville""",male,9,1,1,C.A. 37671,15.9,,S
492 | 491,0,3,"Hagland, Mr. Konrad Mathias Reiersen",male,,1,0,65304,19.9667,,S
493 | 492,0,3,"Windelov, Mr. Einar",male,21,0,0,SOTON/OQ 3101317,7.25,,S
494 | 493,0,1,"Molson, Mr. Harry Markland",male,55,0,0,113787,30.5,C30,S
495 | 494,0,1,"Artagaveytia, Mr. Ramon",male,71,0,0,PC 17609,49.5042,,C
496 | 495,0,3,"Stanley, Mr. Edward Roland",male,21,0,0,A/4 45380,8.05,,S
497 | 496,0,3,"Yousseff, Mr. Gerious",male,,0,0,2627,14.4583,,C
498 | 497,1,1,"Eustis, Miss. Elizabeth Mussey",female,54,1,0,36947,78.2667,D20,C
499 | 498,0,3,"Shellard, Mr. Frederick William",male,,0,0,C.A. 6212,15.1,,S
500 | 499,0,1,"Allison, Mrs. Hudson J C (Bessie Waldo Daniels)",female,25,1,2,113781,151.55,C22 C26,S
501 | 500,0,3,"Svensson, Mr. Olof",male,24,0,0,350035,7.7958,,S
502 | 501,0,3,"Calic, Mr. Petar",male,17,0,0,315086,8.6625,,S
503 | 502,0,3,"Canavan, Miss. Mary",female,21,0,0,364846,7.75,,Q
504 | 503,0,3,"O'Sullivan, Miss. Bridget Mary",female,,0,0,330909,7.6292,,Q
505 | 504,0,3,"Laitinen, Miss. Kristina Sofia",female,37,0,0,4135,9.5875,,S
506 | 505,1,1,"Maioni, Miss. Roberta",female,16,0,0,110152,86.5,B79,S
507 | 506,0,1,"Penasco y Castellana, Mr. Victor de Satode",male,18,1,0,PC 17758,108.9,C65,C
508 | 507,1,2,"Quick, Mrs. Frederick Charles (Jane Richards)",female,33,0,2,26360,26,,S
509 | 508,1,1,"Bradley, Mr. George (""George Arthur Brayton"")",male,,0,0,111427,26.55,,S
510 | 509,0,3,"Olsen, Mr. Henry Margido",male,28,0,0,C 4001,22.525,,S
511 | 510,1,3,"Lang, Mr. Fang",male,26,0,0,1601,56.4958,,S
512 | 511,1,3,"Daly, Mr. Eugene Patrick",male,29,0,0,382651,7.75,,Q
513 | 512,0,3,"Webber, Mr. James",male,,0,0,SOTON/OQ 3101316,8.05,,S
514 | 513,1,1,"McGough, Mr. James Robert",male,36,0,0,PC 17473,26.2875,E25,S
515 | 514,1,1,"Rothschild, Mrs. Martin (Elizabeth L. Barrett)",female,54,1,0,PC 17603,59.4,,C
516 | 515,0,3,"Coleff, Mr. Satio",male,24,0,0,349209,7.4958,,S
517 | 516,0,1,"Walker, Mr. William Anderson",male,47,0,0,36967,34.0208,D46,S
518 | 517,1,2,"Lemore, Mrs. (Amelia Milley)",female,34,0,0,C.A. 34260,10.5,F33,S
519 | 518,0,3,"Ryan, Mr. Patrick",male,,0,0,371110,24.15,,Q
520 | 519,1,2,"Angle, Mrs. William A (Florence ""Mary"" Agnes Hughes)",female,36,1,0,226875,26,,S
521 | 520,0,3,"Pavlovic, Mr. Stefo",male,32,0,0,349242,7.8958,,S
522 | 521,1,1,"Perreault, Miss. Anne",female,30,0,0,12749,93.5,B73,S
523 | 522,0,3,"Vovk, Mr. Janko",male,22,0,0,349252,7.8958,,S
524 | 523,0,3,"Lahoud, Mr. Sarkis",male,,0,0,2624,7.225,,C
525 | 524,1,1,"Hippach, Mrs. Louis Albert (Ida Sophia Fischer)",female,44,0,1,111361,57.9792,B18,C
526 | 525,0,3,"Kassem, Mr. Fared",male,,0,0,2700,7.2292,,C
527 | 526,0,3,"Farrell, Mr. James",male,40.5,0,0,367232,7.75,,Q
528 | 527,1,2,"Ridsdale, Miss. Lucy",female,50,0,0,W./C. 14258,10.5,,S
529 | 528,0,1,"Farthing, Mr. John",male,,0,0,PC 17483,221.7792,C95,S
530 | 529,0,3,"Salonen, Mr. Johan Werner",male,39,0,0,3101296,7.925,,S
531 | 530,0,2,"Hocking, Mr. Richard George",male,23,2,1,29104,11.5,,S
532 | 531,1,2,"Quick, Miss. Phyllis May",female,2,1,1,26360,26,,S
533 | 532,0,3,"Toufik, Mr. Nakli",male,,0,0,2641,7.2292,,C
534 | 533,0,3,"Elias, Mr. Joseph Jr",male,17,1,1,2690,7.2292,,C
535 | 534,1,3,"Peter, Mrs. Catherine (Catherine Rizk)",female,,0,2,2668,22.3583,,C
536 | 535,0,3,"Cacic, Miss. Marija",female,30,0,0,315084,8.6625,,S
537 | 536,1,2,"Hart, Miss. Eva Miriam",female,7,0,2,F.C.C. 13529,26.25,,S
538 | 537,0,1,"Butt, Major. Archibald Willingham",male,45,0,0,113050,26.55,B38,S
539 | 538,1,1,"LeRoy, Miss. Bertha",female,30,0,0,PC 17761,106.425,,C
540 | 539,0,3,"Risien, Mr. Samuel Beard",male,,0,0,364498,14.5,,S
541 | 540,1,1,"Frolicher, Miss. Hedwig Margaritha",female,22,0,2,13568,49.5,B39,C
542 | 541,1,1,"Crosby, Miss. Harriet R",female,36,0,2,WE/P 5735,71,B22,S
543 | 542,0,3,"Andersson, Miss. Ingeborg Constanzia",female,9,4,2,347082,31.275,,S
544 | 543,0,3,"Andersson, Miss. Sigrid Elisabeth",female,11,4,2,347082,31.275,,S
545 | 544,1,2,"Beane, Mr. Edward",male,32,1,0,2908,26,,S
546 | 545,0,1,"Douglas, Mr. Walter Donald",male,50,1,0,PC 17761,106.425,C86,C
547 | 546,0,1,"Nicholson, Mr. Arthur Ernest",male,64,0,0,693,26,,S
548 | 547,1,2,"Beane, Mrs. Edward (Ethel Clarke)",female,19,1,0,2908,26,,S
549 | 548,1,2,"Padro y Manent, Mr. Julian",male,,0,0,SC/PARIS 2146,13.8625,,C
550 | 549,0,3,"Goldsmith, Mr. Frank John",male,33,1,1,363291,20.525,,S
551 | 550,1,2,"Davies, Master. John Morgan Jr",male,8,1,1,C.A. 33112,36.75,,S
552 | 551,1,1,"Thayer, Mr. John Borland Jr",male,17,0,2,17421,110.8833,C70,C
553 | 552,0,2,"Sharp, Mr. Percival James R",male,27,0,0,244358,26,,S
554 | 553,0,3,"O'Brien, Mr. Timothy",male,,0,0,330979,7.8292,,Q
555 | 554,1,3,"Leeni, Mr. Fahim (""Philip Zenni"")",male,22,0,0,2620,7.225,,C
556 | 555,1,3,"Ohman, Miss. Velin",female,22,0,0,347085,7.775,,S
557 | 556,0,1,"Wright, Mr. George",male,62,0,0,113807,26.55,,S
558 | 557,1,1,"Duff Gordon, Lady. (Lucille Christiana Sutherland) (""Mrs Morgan"")",female,48,1,0,11755,39.6,A16,C
559 | 558,0,1,"Robbins, Mr. Victor",male,,0,0,PC 17757,227.525,,C
560 | 559,1,1,"Taussig, Mrs. Emil (Tillie Mandelbaum)",female,39,1,1,110413,79.65,E67,S
561 | 560,1,3,"de Messemaeker, Mrs. Guillaume Joseph (Emma)",female,36,1,0,345572,17.4,,S
562 | 561,0,3,"Morrow, Mr. Thomas Rowan",male,,0,0,372622,7.75,,Q
563 | 562,0,3,"Sivic, Mr. Husein",male,40,0,0,349251,7.8958,,S
564 | 563,0,2,"Norman, Mr. Robert Douglas",male,28,0,0,218629,13.5,,S
565 | 564,0,3,"Simmons, Mr. John",male,,0,0,SOTON/OQ 392082,8.05,,S
566 | 565,0,3,"Meanwell, Miss. (Marion Ogden)",female,,0,0,SOTON/O.Q. 392087,8.05,,S
567 | 566,0,3,"Davies, Mr. Alfred J",male,24,2,0,A/4 48871,24.15,,S
568 | 567,0,3,"Stoytcheff, Mr. Ilia",male,19,0,0,349205,7.8958,,S
569 | 568,0,3,"Palsson, Mrs. Nils (Alma Cornelia Berglund)",female,29,0,4,349909,21.075,,S
570 | 569,0,3,"Doharr, Mr. Tannous",male,,0,0,2686,7.2292,,C
571 | 570,1,3,"Jonsson, Mr. Carl",male,32,0,0,350417,7.8542,,S
572 | 571,1,2,"Harris, Mr. George",male,62,0,0,S.W./PP 752,10.5,,S
573 | 572,1,1,"Appleton, Mrs. Edward Dale (Charlotte Lamson)",female,53,2,0,11769,51.4792,C101,S
574 | 573,1,1,"Flynn, Mr. John Irwin (""Irving"")",male,36,0,0,PC 17474,26.3875,E25,S
575 | 574,1,3,"Kelly, Miss. Mary",female,,0,0,14312,7.75,,Q
576 | 575,0,3,"Rush, Mr. Alfred George John",male,16,0,0,A/4. 20589,8.05,,S
577 | 576,0,3,"Patchett, Mr. George",male,19,0,0,358585,14.5,,S
578 | 577,1,2,"Garside, Miss. Ethel",female,34,0,0,243880,13,,S
579 | 578,1,1,"Silvey, Mrs. William Baird (Alice Munger)",female,39,1,0,13507,55.9,E44,S
580 | 579,0,3,"Caram, Mrs. Joseph (Maria Elias)",female,,1,0,2689,14.4583,,C
581 | 580,1,3,"Jussila, Mr. Eiriik",male,32,0,0,STON/O 2. 3101286,7.925,,S
582 | 581,1,2,"Christy, Miss. Julie Rachel",female,25,1,1,237789,30,,S
583 | 582,1,1,"Thayer, Mrs. John Borland (Marian Longstreth Morris)",female,39,1,1,17421,110.8833,C68,C
584 | 583,0,2,"Downton, Mr. William James",male,54,0,0,28403,26,,S
585 | 584,0,1,"Ross, Mr. John Hugo",male,36,0,0,13049,40.125,A10,C
586 | 585,0,3,"Paulner, Mr. Uscher",male,,0,0,3411,8.7125,,C
587 | 586,1,1,"Taussig, Miss. Ruth",female,18,0,2,110413,79.65,E68,S
588 | 587,0,2,"Jarvis, Mr. John Denzil",male,47,0,0,237565,15,,S
589 | 588,1,1,"Frolicher-Stehli, Mr. Maxmillian",male,60,1,1,13567,79.2,B41,C
590 | 589,0,3,"Gilinski, Mr. Eliezer",male,22,0,0,14973,8.05,,S
591 | 590,0,3,"Murdlin, Mr. Joseph",male,,0,0,A./5. 3235,8.05,,S
592 | 591,0,3,"Rintamaki, Mr. Matti",male,35,0,0,STON/O 2. 3101273,7.125,,S
593 | 592,1,1,"Stephenson, Mrs. Walter Bertram (Martha Eustis)",female,52,1,0,36947,78.2667,D20,C
594 | 593,0,3,"Elsbury, Mr. William James",male,47,0,0,A/5 3902,7.25,,S
595 | 594,0,3,"Bourke, Miss. Mary",female,,0,2,364848,7.75,,Q
596 | 595,0,2,"Chapman, Mr. John Henry",male,37,1,0,SC/AH 29037,26,,S
597 | 596,0,3,"Van Impe, Mr. Jean Baptiste",male,36,1,1,345773,24.15,,S
598 | 597,1,2,"Leitch, Miss. Jessie Wills",female,,0,0,248727,33,,S
599 | 598,0,3,"Johnson, Mr. Alfred",male,49,0,0,LINE,0,,S
600 | 599,0,3,"Boulos, Mr. Hanna",male,,0,0,2664,7.225,,C
601 | 600,1,1,"Duff Gordon, Sir. Cosmo Edmund (""Mr Morgan"")",male,49,1,0,PC 17485,56.9292,A20,C
602 | 601,1,2,"Jacobsohn, Mrs. Sidney Samuel (Amy Frances Christy)",female,24,2,1,243847,27,,S
603 | 602,0,3,"Slabenoff, Mr. Petco",male,,0,0,349214,7.8958,,S
604 | 603,0,1,"Harrington, Mr. Charles H",male,,0,0,113796,42.4,,S
605 | 604,0,3,"Torber, Mr. Ernst William",male,44,0,0,364511,8.05,,S
606 | 605,1,1,"Homer, Mr. Harry (""Mr E Haven"")",male,35,0,0,111426,26.55,,C
607 | 606,0,3,"Lindell, Mr. Edvard Bengtsson",male,36,1,0,349910,15.55,,S
608 | 607,0,3,"Karaic, Mr. Milan",male,30,0,0,349246,7.8958,,S
609 | 608,1,1,"Daniel, Mr. Robert Williams",male,27,0,0,113804,30.5,,S
610 | 609,1,2,"Laroche, Mrs. Joseph (Juliette Marie Louise Lafargue)",female,22,1,2,SC/Paris 2123,41.5792,,C
611 | 610,1,1,"Shutes, Miss. Elizabeth W",female,40,0,0,PC 17582,153.4625,C125,S
612 | 611,0,3,"Andersson, Mrs. Anders Johan (Alfrida Konstantia Brogren)",female,39,1,5,347082,31.275,,S
613 | 612,0,3,"Jardin, Mr. Jose Neto",male,,0,0,SOTON/O.Q. 3101305,7.05,,S
614 | 613,1,3,"Murphy, Miss. Margaret Jane",female,,1,0,367230,15.5,,Q
615 | 614,0,3,"Horgan, Mr. John",male,,0,0,370377,7.75,,Q
616 | 615,0,3,"Brocklebank, Mr. William Alfred",male,35,0,0,364512,8.05,,S
617 | 616,1,2,"Herman, Miss. Alice",female,24,1,2,220845,65,,S
618 | 617,0,3,"Danbom, Mr. Ernst Gilbert",male,34,1,1,347080,14.4,,S
619 | 618,0,3,"Lobb, Mrs. William Arthur (Cordelia K Stanlick)",female,26,1,0,A/5. 3336,16.1,,S
620 | 619,1,2,"Becker, Miss. Marion Louise",female,4,2,1,230136,39,F4,S
621 | 620,0,2,"Gavey, Mr. Lawrence",male,26,0,0,31028,10.5,,S
622 | 621,0,3,"Yasbeck, Mr. Antoni",male,27,1,0,2659,14.4542,,C
623 | 622,1,1,"Kimball, Mr. Edwin Nelson Jr",male,42,1,0,11753,52.5542,D19,S
624 | 623,1,3,"Nakid, Mr. Sahid",male,20,1,1,2653,15.7417,,C
625 | 624,0,3,"Hansen, Mr. Henry Damsgaard",male,21,0,0,350029,7.8542,,S
626 | 625,0,3,"Bowen, Mr. David John ""Dai""",male,21,0,0,54636,16.1,,S
627 | 626,0,1,"Sutton, Mr. Frederick",male,61,0,0,36963,32.3208,D50,S
628 | 627,0,2,"Kirkland, Rev. Charles Leonard",male,57,0,0,219533,12.35,,Q
629 | 628,1,1,"Longley, Miss. Gretchen Fiske",female,21,0,0,13502,77.9583,D9,S
630 | 629,0,3,"Bostandyeff, Mr. Guentcho",male,26,0,0,349224,7.8958,,S
631 | 630,0,3,"O'Connell, Mr. Patrick D",male,,0,0,334912,7.7333,,Q
632 | 631,1,1,"Barkworth, Mr. Algernon Henry Wilson",male,80,0,0,27042,30,A23,S
633 | 632,0,3,"Lundahl, Mr. Johan Svensson",male,51,0,0,347743,7.0542,,S
634 | 633,1,1,"Stahelin-Maeglin, Dr. Max",male,32,0,0,13214,30.5,B50,C
635 | 634,0,1,"Parr, Mr. William Henry Marsh",male,,0,0,112052,0,,S
636 | 635,0,3,"Skoog, Miss. Mabel",female,9,3,2,347088,27.9,,S
637 | 636,1,2,"Davis, Miss. Mary",female,28,0,0,237668,13,,S
638 | 637,0,3,"Leinonen, Mr. Antti Gustaf",male,32,0,0,STON/O 2. 3101292,7.925,,S
639 | 638,0,2,"Collyer, Mr. Harvey",male,31,1,1,C.A. 31921,26.25,,S
640 | 639,0,3,"Panula, Mrs. Juha (Maria Emilia Ojala)",female,41,0,5,3101295,39.6875,,S
641 | 640,0,3,"Thorneycroft, Mr. Percival",male,,1,0,376564,16.1,,S
642 | 641,0,3,"Jensen, Mr. Hans Peder",male,20,0,0,350050,7.8542,,S
643 | 642,1,1,"Sagesser, Mlle. Emma",female,24,0,0,PC 17477,69.3,B35,C
644 | 643,0,3,"Skoog, Miss. Margit Elizabeth",female,2,3,2,347088,27.9,,S
645 | 644,1,3,"Foo, Mr. Choong",male,,0,0,1601,56.4958,,S
646 | 645,1,3,"Baclini, Miss. Eugenie",female,0.75,2,1,2666,19.2583,,C
647 | 646,1,1,"Harper, Mr. Henry Sleeper",male,48,1,0,PC 17572,76.7292,D33,C
648 | 647,0,3,"Cor, Mr. Liudevit",male,19,0,0,349231,7.8958,,S
649 | 648,1,1,"Simonius-Blumer, Col. Oberst Alfons",male,56,0,0,13213,35.5,A26,C
650 | 649,0,3,"Willey, Mr. Edward",male,,0,0,S.O./P.P. 751,7.55,,S
651 | 650,1,3,"Stanley, Miss. Amy Zillah Elsie",female,23,0,0,CA. 2314,7.55,,S
652 | 651,0,3,"Mitkoff, Mr. Mito",male,,0,0,349221,7.8958,,S
653 | 652,1,2,"Doling, Miss. Elsie",female,18,0,1,231919,23,,S
654 | 653,0,3,"Kalvik, Mr. Johannes Halvorsen",male,21,0,0,8475,8.4333,,S
655 | 654,1,3,"O'Leary, Miss. Hanora ""Norah""",female,,0,0,330919,7.8292,,Q
656 | 655,0,3,"Hegarty, Miss. Hanora ""Nora""",female,18,0,0,365226,6.75,,Q
657 | 656,0,2,"Hickman, Mr. Leonard Mark",male,24,2,0,S.O.C. 14879,73.5,,S
658 | 657,0,3,"Radeff, Mr. Alexander",male,,0,0,349223,7.8958,,S
659 | 658,0,3,"Bourke, Mrs. John (Catherine)",female,32,1,1,364849,15.5,,Q
660 | 659,0,2,"Eitemiller, Mr. George Floyd",male,23,0,0,29751,13,,S
661 | 660,0,1,"Newell, Mr. Arthur Webster",male,58,0,2,35273,113.275,D48,C
662 | 661,1,1,"Frauenthal, Dr. Henry William",male,50,2,0,PC 17611,133.65,,S
663 | 662,0,3,"Badt, Mr. Mohamed",male,40,0,0,2623,7.225,,C
664 | 663,0,1,"Colley, Mr. Edward Pomeroy",male,47,0,0,5727,25.5875,E58,S
665 | 664,0,3,"Coleff, Mr. Peju",male,36,0,0,349210,7.4958,,S
666 | 665,1,3,"Lindqvist, Mr. Eino William",male,20,1,0,STON/O 2. 3101285,7.925,,S
667 | 666,0,2,"Hickman, Mr. Lewis",male,32,2,0,S.O.C. 14879,73.5,,S
668 | 667,0,2,"Butler, Mr. Reginald Fenton",male,25,0,0,234686,13,,S
669 | 668,0,3,"Rommetvedt, Mr. Knud Paust",male,,0,0,312993,7.775,,S
670 | 669,0,3,"Cook, Mr. Jacob",male,43,0,0,A/5 3536,8.05,,S
671 | 670,1,1,"Taylor, Mrs. Elmer Zebley (Juliet Cummins Wright)",female,,1,0,19996,52,C126,S
672 | 671,1,2,"Brown, Mrs. Thomas William Solomon (Elizabeth Catherine Ford)",female,40,1,1,29750,39,,S
673 | 672,0,1,"Davidson, Mr. Thornton",male,31,1,0,F.C. 12750,52,B71,S
674 | 673,0,2,"Mitchell, Mr. Henry Michael",male,70,0,0,C.A. 24580,10.5,,S
675 | 674,1,2,"Wilhelms, Mr. Charles",male,31,0,0,244270,13,,S
676 | 675,0,2,"Watson, Mr. Ennis Hastings",male,,0,0,239856,0,,S
677 | 676,0,3,"Edvardsson, Mr. Gustaf Hjalmar",male,18,0,0,349912,7.775,,S
678 | 677,0,3,"Sawyer, Mr. Frederick Charles",male,24.5,0,0,342826,8.05,,S
679 | 678,1,3,"Turja, Miss. Anna Sofia",female,18,0,0,4138,9.8417,,S
680 | 679,0,3,"Goodwin, Mrs. Frederick (Augusta Tyler)",female,43,1,6,CA 2144,46.9,,S
681 | 680,1,1,"Cardeza, Mr. Thomas Drake Martinez",male,36,0,1,PC 17755,512.3292,B51 B53 B55,C
682 | 681,0,3,"Peters, Miss. Katie",female,,0,0,330935,8.1375,,Q
683 | 682,1,1,"Hassab, Mr. Hammad",male,27,0,0,PC 17572,76.7292,D49,C
684 | 683,0,3,"Olsvigen, Mr. Thor Anderson",male,20,0,0,6563,9.225,,S
685 | 684,0,3,"Goodwin, Mr. Charles Edward",male,14,5,2,CA 2144,46.9,,S
686 | 685,0,2,"Brown, Mr. Thomas William Solomon",male,60,1,1,29750,39,,S
687 | 686,0,2,"Laroche, Mr. Joseph Philippe Lemercier",male,25,1,2,SC/Paris 2123,41.5792,,C
688 | 687,0,3,"Panula, Mr. Jaako Arnold",male,14,4,1,3101295,39.6875,,S
689 | 688,0,3,"Dakic, Mr. Branko",male,19,0,0,349228,10.1708,,S
690 | 689,0,3,"Fischer, Mr. Eberhard Thelander",male,18,0,0,350036,7.7958,,S
691 | 690,1,1,"Madill, Miss. Georgette Alexandra",female,15,0,1,24160,211.3375,B5,S
692 | 691,1,1,"Dick, Mr. Albert Adrian",male,31,1,0,17474,57,B20,S
693 | 692,1,3,"Karun, Miss. Manca",female,4,0,1,349256,13.4167,,C
694 | 693,1,3,"Lam, Mr. Ali",male,,0,0,1601,56.4958,,S
695 | 694,0,3,"Saad, Mr. Khalil",male,25,0,0,2672,7.225,,C
696 | 695,0,1,"Weir, Col. John",male,60,0,0,113800,26.55,,S
697 | 696,0,2,"Chapman, Mr. Charles Henry",male,52,0,0,248731,13.5,,S
698 | 697,0,3,"Kelly, Mr. James",male,44,0,0,363592,8.05,,S
699 | 698,1,3,"Mullens, Miss. Katherine ""Katie""",female,,0,0,35852,7.7333,,Q
700 | 699,0,1,"Thayer, Mr. John Borland",male,49,1,1,17421,110.8833,C68,C
701 | 700,0,3,"Humblen, Mr. Adolf Mathias Nicolai Olsen",male,42,0,0,348121,7.65,F G63,S
702 | 701,1,1,"Astor, Mrs. John Jacob (Madeleine Talmadge Force)",female,18,1,0,PC 17757,227.525,C62 C64,C
703 | 702,1,1,"Silverthorne, Mr. Spencer Victor",male,35,0,0,PC 17475,26.2875,E24,S
704 | 703,0,3,"Barbara, Miss. Saiide",female,18,0,1,2691,14.4542,,C
705 | 704,0,3,"Gallagher, Mr. Martin",male,25,0,0,36864,7.7417,,Q
706 | 705,0,3,"Hansen, Mr. Henrik Juul",male,26,1,0,350025,7.8542,,S
707 | 706,0,2,"Morley, Mr. Henry Samuel (""Mr Henry Marshall"")",male,39,0,0,250655,26,,S
708 | 707,1,2,"Kelly, Mrs. Florence ""Fannie""",female,45,0,0,223596,13.5,,S
709 | 708,1,1,"Calderhead, Mr. Edward Pennington",male,42,0,0,PC 17476,26.2875,E24,S
710 | 709,1,1,"Cleaver, Miss. Alice",female,22,0,0,113781,151.55,,S
711 | 710,1,3,"Moubarek, Master. Halim Gonios (""William George"")",male,,1,1,2661,15.2458,,C
712 | 711,1,1,"Mayne, Mlle. Berthe Antonine (""Mrs de Villiers"")",female,24,0,0,PC 17482,49.5042,C90,C
713 | 712,0,1,"Klaber, Mr. Herman",male,,0,0,113028,26.55,C124,S
714 | 713,1,1,"Taylor, Mr. Elmer Zebley",male,48,1,0,19996,52,C126,S
715 | 714,0,3,"Larsson, Mr. August Viktor",male,29,0,0,7545,9.4833,,S
716 | 715,0,2,"Greenberg, Mr. Samuel",male,52,0,0,250647,13,,S
717 | 716,0,3,"Soholt, Mr. Peter Andreas Lauritz Andersen",male,19,0,0,348124,7.65,F G73,S
718 | 717,1,1,"Endres, Miss. Caroline Louise",female,38,0,0,PC 17757,227.525,C45,C
719 | 718,1,2,"Troutt, Miss. Edwina Celia ""Winnie""",female,27,0,0,34218,10.5,E101,S
720 | 719,0,3,"McEvoy, Mr. Michael",male,,0,0,36568,15.5,,Q
721 | 720,0,3,"Johnson, Mr. Malkolm Joackim",male,33,0,0,347062,7.775,,S
722 | 721,1,2,"Harper, Miss. Annie Jessie ""Nina""",female,6,0,1,248727,33,,S
723 | 722,0,3,"Jensen, Mr. Svend Lauritz",male,17,1,0,350048,7.0542,,S
724 | 723,0,2,"Gillespie, Mr. William Henry",male,34,0,0,12233,13,,S
725 | 724,0,2,"Hodges, Mr. Henry Price",male,50,0,0,250643,13,,S
726 | 725,1,1,"Chambers, Mr. Norman Campbell",male,27,1,0,113806,53.1,E8,S
727 | 726,0,3,"Oreskovic, Mr. Luka",male,20,0,0,315094,8.6625,,S
728 | 727,1,2,"Renouf, Mrs. Peter Henry (Lillian Jefferys)",female,30,3,0,31027,21,,S
729 | 728,1,3,"Mannion, Miss. Margareth",female,,0,0,36866,7.7375,,Q
730 | 729,0,2,"Bryhl, Mr. Kurt Arnold Gottfrid",male,25,1,0,236853,26,,S
731 | 730,0,3,"Ilmakangas, Miss. Pieta Sofia",female,25,1,0,STON/O2. 3101271,7.925,,S
732 | 731,1,1,"Allen, Miss. Elisabeth Walton",female,29,0,0,24160,211.3375,B5,S
733 | 732,0,3,"Hassan, Mr. Houssein G N",male,11,0,0,2699,18.7875,,C
734 | 733,0,2,"Knight, Mr. Robert J",male,,0,0,239855,0,,S
735 | 734,0,2,"Berriman, Mr. William John",male,23,0,0,28425,13,,S
736 | 735,0,2,"Troupiansky, Mr. Moses Aaron",male,23,0,0,233639,13,,S
737 | 736,0,3,"Williams, Mr. Leslie",male,28.5,0,0,54636,16.1,,S
738 | 737,0,3,"Ford, Mrs. Edward (Margaret Ann Watson)",female,48,1,3,W./C. 6608,34.375,,S
739 | 738,1,1,"Lesurer, Mr. Gustave J",male,35,0,0,PC 17755,512.3292,B101,C
740 | 739,0,3,"Ivanoff, Mr. Kanio",male,,0,0,349201,7.8958,,S
741 | 740,0,3,"Nankoff, Mr. Minko",male,,0,0,349218,7.8958,,S
742 | 741,1,1,"Hawksford, Mr. Walter James",male,,0,0,16988,30,D45,S
743 | 742,0,1,"Cavendish, Mr. Tyrell William",male,36,1,0,19877,78.85,C46,S
744 | 743,1,1,"Ryerson, Miss. Susan Parker ""Suzette""",female,21,2,2,PC 17608,262.375,B57 B59 B63 B66,C
745 | 744,0,3,"McNamee, Mr. Neal",male,24,1,0,376566,16.1,,S
746 | 745,1,3,"Stranden, Mr. Juho",male,31,0,0,STON/O 2. 3101288,7.925,,S
747 | 746,0,1,"Crosby, Capt. Edward Gifford",male,70,1,1,WE/P 5735,71,B22,S
748 | 747,0,3,"Abbott, Mr. Rossmore Edward",male,16,1,1,C.A. 2673,20.25,,S
749 | 748,1,2,"Sinkkonen, Miss. Anna",female,30,0,0,250648,13,,S
750 | 749,0,1,"Marvin, Mr. Daniel Warner",male,19,1,0,113773,53.1,D30,S
751 | 750,0,3,"Connaghton, Mr. Michael",male,31,0,0,335097,7.75,,Q
752 | 751,1,2,"Wells, Miss. Joan",female,4,1,1,29103,23,,S
753 | 752,1,3,"Moor, Master. Meier",male,6,0,1,392096,12.475,E121,S
754 | 753,0,3,"Vande Velde, Mr. Johannes Joseph",male,33,0,0,345780,9.5,,S
755 | 754,0,3,"Jonkoff, Mr. Lalio",male,23,0,0,349204,7.8958,,S
756 | 755,1,2,"Herman, Mrs. Samuel (Jane Laver)",female,48,1,2,220845,65,,S
757 | 756,1,2,"Hamalainen, Master. Viljo",male,0.67,1,1,250649,14.5,,S
758 | 757,0,3,"Carlsson, Mr. August Sigfrid",male,28,0,0,350042,7.7958,,S
759 | 758,0,2,"Bailey, Mr. Percy Andrew",male,18,0,0,29108,11.5,,S
760 | 759,0,3,"Theobald, Mr. Thomas Leonard",male,34,0,0,363294,8.05,,S
761 | 760,1,1,"Rothes, the Countess. of (Lucy Noel Martha Dyer-Edwards)",female,33,0,0,110152,86.5,B77,S
762 | 761,0,3,"Garfirth, Mr. John",male,,0,0,358585,14.5,,S
763 | 762,0,3,"Nirva, Mr. Iisakki Antino Aijo",male,41,0,0,SOTON/O2 3101272,7.125,,S
764 | 763,1,3,"Barah, Mr. Hanna Assi",male,20,0,0,2663,7.2292,,C
765 | 764,1,1,"Carter, Mrs. William Ernest (Lucile Polk)",female,36,1,2,113760,120,B96 B98,S
766 | 765,0,3,"Eklund, Mr. Hans Linus",male,16,0,0,347074,7.775,,S
767 | 766,1,1,"Hogeboom, Mrs. John C (Anna Andrews)",female,51,1,0,13502,77.9583,D11,S
768 | 767,0,1,"Brewe, Dr. Arthur Jackson",male,,0,0,112379,39.6,,C
769 | 768,0,3,"Mangan, Miss. Mary",female,30.5,0,0,364850,7.75,,Q
770 | 769,0,3,"Moran, Mr. Daniel J",male,,1,0,371110,24.15,,Q
771 | 770,0,3,"Gronnestad, Mr. Daniel Danielsen",male,32,0,0,8471,8.3625,,S
772 | 771,0,3,"Lievens, Mr. Rene Aime",male,24,0,0,345781,9.5,,S
773 | 772,0,3,"Jensen, Mr. Niels Peder",male,48,0,0,350047,7.8542,,S
774 | 773,0,2,"Mack, Mrs. (Mary)",female,57,0,0,S.O./P.P. 3,10.5,E77,S
775 | 774,0,3,"Elias, Mr. Dibo",male,,0,0,2674,7.225,,C
776 | 775,1,2,"Hocking, Mrs. Elizabeth (Eliza Needs)",female,54,1,3,29105,23,,S
777 | 776,0,3,"Myhrman, Mr. Pehr Fabian Oliver Malkolm",male,18,0,0,347078,7.75,,S
778 | 777,0,3,"Tobin, Mr. Roger",male,,0,0,383121,7.75,F38,Q
779 | 778,1,3,"Emanuel, Miss. Virginia Ethel",female,5,0,0,364516,12.475,,S
780 | 779,0,3,"Kilgannon, Mr. Thomas J",male,,0,0,36865,7.7375,,Q
781 | 780,1,1,"Robert, Mrs. Edward Scott (Elisabeth Walton McMillan)",female,43,0,1,24160,211.3375,B3,S
782 | 781,1,3,"Ayoub, Miss. Banoura",female,13,0,0,2687,7.2292,,C
783 | 782,1,1,"Dick, Mrs. Albert Adrian (Vera Gillespie)",female,17,1,0,17474,57,B20,S
784 | 783,0,1,"Long, Mr. Milton Clyde",male,29,0,0,113501,30,D6,S
785 | 784,0,3,"Johnston, Mr. Andrew G",male,,1,2,W./C. 6607,23.45,,S
786 | 785,0,3,"Ali, Mr. William",male,25,0,0,SOTON/O.Q. 3101312,7.05,,S
787 | 786,0,3,"Harmer, Mr. Abraham (David Lishin)",male,25,0,0,374887,7.25,,S
788 | 787,1,3,"Sjoblom, Miss. Anna Sofia",female,18,0,0,3101265,7.4958,,S
789 | 788,0,3,"Rice, Master. George Hugh",male,8,4,1,382652,29.125,,Q
790 | 789,1,3,"Dean, Master. Bertram Vere",male,1,1,2,C.A. 2315,20.575,,S
791 | 790,0,1,"Guggenheim, Mr. Benjamin",male,46,0,0,PC 17593,79.2,B82 B84,C
792 | 791,0,3,"Keane, Mr. Andrew ""Andy""",male,,0,0,12460,7.75,,Q
793 | 792,0,2,"Gaskell, Mr. Alfred",male,16,0,0,239865,26,,S
794 | 793,0,3,"Sage, Miss. Stella Anna",female,,8,2,CA. 2343,69.55,,S
795 | 794,0,1,"Hoyt, Mr. William Fisher",male,,0,0,PC 17600,30.6958,,C
796 | 795,0,3,"Dantcheff, Mr. Ristiu",male,25,0,0,349203,7.8958,,S
797 | 796,0,2,"Otter, Mr. Richard",male,39,0,0,28213,13,,S
798 | 797,1,1,"Leader, Dr. Alice (Farnham)",female,49,0,0,17465,25.9292,D17,S
799 | 798,1,3,"Osman, Mrs. Mara",female,31,0,0,349244,8.6833,,S
800 | 799,0,3,"Ibrahim Shawah, Mr. Yousseff",male,30,0,0,2685,7.2292,,C
801 | 800,0,3,"Van Impe, Mrs. Jean Baptiste (Rosalie Paula Govaert)",female,30,1,1,345773,24.15,,S
802 | 801,0,2,"Ponesell, Mr. Martin",male,34,0,0,250647,13,,S
803 | 802,1,2,"Collyer, Mrs. Harvey (Charlotte Annie Tate)",female,31,1,1,C.A. 31921,26.25,,S
804 | 803,1,1,"Carter, Master. William Thornton II",male,11,1,2,113760,120,B96 B98,S
805 | 804,1,3,"Thomas, Master. Assad Alexander",male,0.42,0,1,2625,8.5167,,C
806 | 805,1,3,"Hedman, Mr. Oskar Arvid",male,27,0,0,347089,6.975,,S
807 | 806,0,3,"Johansson, Mr. Karl Johan",male,31,0,0,347063,7.775,,S
808 | 807,0,1,"Andrews, Mr. Thomas Jr",male,39,0,0,112050,0,A36,S
809 | 808,0,3,"Pettersson, Miss. Ellen Natalia",female,18,0,0,347087,7.775,,S
810 | 809,0,2,"Meyer, Mr. August",male,39,0,0,248723,13,,S
811 | 810,1,1,"Chambers, Mrs. Norman Campbell (Bertha Griggs)",female,33,1,0,113806,53.1,E8,S
812 | 811,0,3,"Alexander, Mr. William",male,26,0,0,3474,7.8875,,S
813 | 812,0,3,"Lester, Mr. James",male,39,0,0,A/4 48871,24.15,,S
814 | 813,0,2,"Slemen, Mr. Richard James",male,35,0,0,28206,10.5,,S
815 | 814,0,3,"Andersson, Miss. Ebba Iris Alfrida",female,6,4,2,347082,31.275,,S
816 | 815,0,3,"Tomlin, Mr. Ernest Portage",male,30.5,0,0,364499,8.05,,S
817 | 816,0,1,"Fry, Mr. Richard",male,,0,0,112058,0,B102,S
818 | 817,0,3,"Heininen, Miss. Wendla Maria",female,23,0,0,STON/O2. 3101290,7.925,,S
819 | 818,0,2,"Mallet, Mr. Albert",male,31,1,1,S.C./PARIS 2079,37.0042,,C
820 | 819,0,3,"Holm, Mr. John Fredrik Alexander",male,43,0,0,C 7075,6.45,,S
821 | 820,0,3,"Skoog, Master. Karl Thorsten",male,10,3,2,347088,27.9,,S
822 | 821,1,1,"Hays, Mrs. Charles Melville (Clara Jennings Gregg)",female,52,1,1,12749,93.5,B69,S
823 | 822,1,3,"Lulic, Mr. Nikola",male,27,0,0,315098,8.6625,,S
824 | 823,0,1,"Reuchlin, Jonkheer. John George",male,38,0,0,19972,0,,S
825 | 824,1,3,"Moor, Mrs. (Beila)",female,27,0,1,392096,12.475,E121,S
826 | 825,0,3,"Panula, Master. Urho Abraham",male,2,4,1,3101295,39.6875,,S
827 | 826,0,3,"Flynn, Mr. John",male,,0,0,368323,6.95,,Q
828 | 827,0,3,"Lam, Mr. Len",male,,0,0,1601,56.4958,,S
829 | 828,1,2,"Mallet, Master. Andre",male,1,0,2,S.C./PARIS 2079,37.0042,,C
830 | 829,1,3,"McCormack, Mr. Thomas Joseph",male,,0,0,367228,7.75,,Q
831 | 830,1,1,"Stone, Mrs. George Nelson (Martha Evelyn)",female,62,0,0,113572,80,B28,
832 | 831,1,3,"Yasbeck, Mrs. Antoni (Selini Alexander)",female,15,1,0,2659,14.4542,,C
833 | 832,1,2,"Richards, Master. George Sibley",male,0.83,1,1,29106,18.75,,S
834 | 833,0,3,"Saad, Mr. Amin",male,,0,0,2671,7.2292,,C
835 | 834,0,3,"Augustsson, Mr. Albert",male,23,0,0,347468,7.8542,,S
836 | 835,0,3,"Allum, Mr. Owen George",male,18,0,0,2223,8.3,,S
837 | 836,1,1,"Compton, Miss. Sara Rebecca",female,39,1,1,PC 17756,83.1583,E49,C
838 | 837,0,3,"Pasic, Mr. Jakob",male,21,0,0,315097,8.6625,,S
839 | 838,0,3,"Sirota, Mr. Maurice",male,,0,0,392092,8.05,,S
840 | 839,1,3,"Chip, Mr. Chang",male,32,0,0,1601,56.4958,,S
841 | 840,1,1,"Marechal, Mr. Pierre",male,,0,0,11774,29.7,C47,C
842 | 841,0,3,"Alhomaki, Mr. Ilmari Rudolf",male,20,0,0,SOTON/O2 3101287,7.925,,S
843 | 842,0,2,"Mudd, Mr. Thomas Charles",male,16,0,0,S.O./P.P. 3,10.5,,S
844 | 843,1,1,"Serepeca, Miss. Augusta",female,30,0,0,113798,31,,C
845 | 844,0,3,"Lemberopolous, Mr. Peter L",male,34.5,0,0,2683,6.4375,,C
846 | 845,0,3,"Culumovic, Mr. Jeso",male,17,0,0,315090,8.6625,,S
847 | 846,0,3,"Abbing, Mr. Anthony",male,42,0,0,C.A. 5547,7.55,,S
848 | 847,0,3,"Sage, Mr. Douglas Bullen",male,,8,2,CA. 2343,69.55,,S
849 | 848,0,3,"Markoff, Mr. Marin",male,35,0,0,349213,7.8958,,C
850 | 849,0,2,"Harper, Rev. John",male,28,0,1,248727,33,,S
851 | 850,1,1,"Goldenberg, Mrs. Samuel L (Edwiga Grabowska)",female,,1,0,17453,89.1042,C92,C
852 | 851,0,3,"Andersson, Master. Sigvard Harald Elias",male,4,4,2,347082,31.275,,S
853 | 852,0,3,"Svensson, Mr. Johan",male,74,0,0,347060,7.775,,S
854 | 853,0,3,"Boulos, Miss. Nourelain",female,9,1,1,2678,15.2458,,C
855 | 854,1,1,"Lines, Miss. Mary Conover",female,16,0,1,PC 17592,39.4,D28,S
856 | 855,0,2,"Carter, Mrs. Ernest Courtenay (Lilian Hughes)",female,44,1,0,244252,26,,S
857 | 856,1,3,"Aks, Mrs. Sam (Leah Rosen)",female,18,0,1,392091,9.35,,S
858 | 857,1,1,"Wick, Mrs. George Dennick (Mary Hitchcock)",female,45,1,1,36928,164.8667,,S
859 | 858,1,1,"Daly, Mr. Peter Denis ",male,51,0,0,113055,26.55,E17,S
860 | 859,1,3,"Baclini, Mrs. Solomon (Latifa Qurban)",female,24,0,3,2666,19.2583,,C
861 | 860,0,3,"Razi, Mr. Raihed",male,,0,0,2629,7.2292,,C
862 | 861,0,3,"Hansen, Mr. Claus Peter",male,41,2,0,350026,14.1083,,S
863 | 862,0,2,"Giles, Mr. Frederick Edward",male,21,1,0,28134,11.5,,S
864 | 863,1,1,"Swift, Mrs. Frederick Joel (Margaret Welles Barron)",female,48,0,0,17466,25.9292,D17,S
865 | 864,0,3,"Sage, Miss. Dorothy Edith ""Dolly""",female,,8,2,CA. 2343,69.55,,S
866 | 865,0,2,"Gill, Mr. John William",male,24,0,0,233866,13,,S
867 | 866,1,2,"Bystrom, Mrs. (Karolina)",female,42,0,0,236852,13,,S
868 | 867,1,2,"Duran y More, Miss. Asuncion",female,27,1,0,SC/PARIS 2149,13.8583,,C
869 | 868,0,1,"Roebling, Mr. Washington Augustus II",male,31,0,0,PC 17590,50.4958,A24,S
870 | 869,0,3,"van Melkebeke, Mr. Philemon",male,,0,0,345777,9.5,,S
871 | 870,1,3,"Johnson, Master. Harold Theodor",male,4,1,1,347742,11.1333,,S
872 | 871,0,3,"Balkic, Mr. Cerin",male,26,0,0,349248,7.8958,,S
873 | 872,1,1,"Beckwith, Mrs. Richard Leonard (Sallie Monypeny)",female,47,1,1,11751,52.5542,D35,S
874 | 873,0,1,"Carlsson, Mr. Frans Olof",male,33,0,0,695,5,B51 B53 B55,S
875 | 874,0,3,"Vander Cruyssen, Mr. Victor",male,47,0,0,345765,9,,S
876 | 875,1,2,"Abelson, Mrs. Samuel (Hannah Wizosky)",female,28,1,0,P/PP 3381,24,,C
877 | 876,1,3,"Najib, Miss. Adele Kiamie ""Jane""",female,15,0,0,2667,7.225,,C
878 | 877,0,3,"Gustafsson, Mr. Alfred Ossian",male,20,0,0,7534,9.8458,,S
879 | 878,0,3,"Petroff, Mr. Nedelio",male,19,0,0,349212,7.8958,,S
880 | 879,0,3,"Laleff, Mr. Kristo",male,,0,0,349217,7.8958,,S
881 | 880,1,1,"Potter, Mrs. Thomas Jr (Lily Alexenia Wilson)",female,56,0,1,11767,83.1583,C50,C
882 | 881,1,2,"Shelley, Mrs. William (Imanita Parrish Hall)",female,25,0,1,230433,26,,S
883 | 882,0,3,"Markun, Mr. Johann",male,33,0,0,349257,7.8958,,S
884 | 883,0,3,"Dahlberg, Miss. Gerda Ulrika",female,22,0,0,7552,10.5167,,S
885 | 884,0,2,"Banfield, Mr. Frederick James",male,28,0,0,C.A./SOTON 34068,10.5,,S
886 | 885,0,3,"Sutehall, Mr. Henry Jr",male,25,0,0,SOTON/OQ 392076,7.05,,S
887 | 886,0,3,"Rice, Mrs. William (Margaret Norton)",female,39,0,5,382652,29.125,,Q
888 | 887,0,2,"Montvila, Rev. Juozas",male,27,0,0,211536,13,,S
889 | 888,1,1,"Graham, Miss. Margaret Edith",female,19,0,0,112053,30,B42,S
890 | 889,0,3,"Johnston, Miss. Catherine Helen ""Carrie""",female,,1,2,W./C. 6607,23.45,,S
891 | 890,1,1,"Behr, Mr. Karl Howell",male,26,0,0,111369,30,C148,C
892 | 891,0,3,"Dooley, Mr. Patrick",male,32,0,0,370376,7.75,,Q
893 |
894 |
895 |
896 |
897 |
--------------------------------------------------------------------------------