{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "![Callysto.ca Banner](https://github.com/callysto/curriculum-notebooks/blob/master/callysto-notebook-banner-top.jpg?raw=true)\n", "\n", "\"Open" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# CALM - Moving Out 3\n", "## Part 3 - Accommodation\n", "\n", "๐Ÿ“šYou will need somewhere to live. Think about the advantages and disadvantages of an [apartment](https://en.wikipedia.org/wiki/Apartment), [townhouse](https://simple.wikipedia.org/wiki/Townhouse)/[duplex](https://en.wikipedia.org/wiki/Duplex_(building)), and a [single detached house](https://en.wikipedia.org/wiki/Single-family_detached_home) and record your thoughts in the cell below. Remember to `Run` the cell once you have finished." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "%%writefile moving_out_2.txt\n", "โœ๏ธ\n", "Advantages of an Apartment\n", "1. \n", "2. \n", "3. \n", "Disadvantages of an Apartment\n", "1. \n", "2. \n", "3. \n", "\n", "Advantages of a Townhouse or Duplex\n", "1. \n", "2. \n", "3. \n", "Disadvantages of a Townhouse or Duplex\n", "1. \n", "2. \n", "3. \n", "\n", "Advantages of a Single Detatched House\n", "1. \n", "2. \n", "3. \n", "Disadvantages of a Single Detatched House\n", "1. \n", "2. \n", "3. \n", "\n", "The best choice of housing for a retired couple with no children \n", "who do not want to cut grass or do other maintenance is \n", "because\n", "\n", "The best choice of housing for a middle-aged couple with two small children \n", "who what room for children and friends to visit is \n", "because\n", "\n", "The best choice of housing for a young couple with a small child is \n", "because\n", "\n", "The best choice of housing for a young, single person who travels frequently for work is \n", "because\n", "\n", "\n", "The type of home I picture myself in when I decide to move out is (be descriptive)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Finding a Rental Home\n", "\n", "๐Ÿ“šFor the purpose of this project you will consider rental properties only. Find an online listing (e.g. from [Kijiji](https://www.kijiji.ca/)) for a suitable place to rent in the area you would like to live.\n", "\n", "Carefully read the listing and fill in the information in the following cell, and `Run` the cell once you have finished." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "%%writefile moving_out_3.txt\n", "โœ๏ธ\n", "\n", "Link to listing: \n", "\n", "Address: \n", "\n", "Type of accomodation: \n", "\n", "Rent per month: \n", "\n", "Utilities included in rent: \n", "\n", "Damage deposit or security deposit amount: \n", "\n", "Other costs not included in rent (e.g. parking, coin laundry): \n", "\n", "Summary of other important information: \n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Roommate\n", "\n", "๐Ÿ“šSome expenses can be decreased by having a roommate. For the purposes of this project you may choose to have one roommate. Complete the statements then `Run` the cell below." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "%%writefile moving_out_4.txt\n", "โœ๏ธ\n", "Advantages of living on my own are:\n", "1. \n", "2. \n", "3. \n", " \n", "Disadvantages of living on my own are:\n", "1. \n", "2. \n", "3. \n", " \n", "Advantages of living with a roommate are:\n", "1. \n", "2. \n", "3. \n", "\n", "Disadvantages of living with a roommate are:\n", "1. \n", "2. \n", "3. \n", "\n", "I have decided to live (on my own / with a roommate) because\n", "\n", "\n", "Essential characteristics of a roommate are:\n", "1. \n", "2. \n", "3. \n", "4. " ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Moving Expenses\n", "๐Ÿ“šThere are one-time moving expenses to consider. Follow the instructions in the code cell below to edit the numbers, then run the cell to calculate and store your expenses." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "#โœ๏ธ\n", "# If you plan to have a roommate, change this to a 1 instead of a 0\n", "roommate = 0\n", "\n", "# Security Deposit or Damage Deposit: this is usually equal to one month's rent.\n", "# You can get your deposit back when you move out, if you take care of your home.\n", "# Some landlords also charge a non-refundable pet fee.\n", "damageDeposit = 0\n", "petFee = 0\n", "\n", "# If you plan to have a pet, estimate the cost of the pet, toys, furniture, etc.\n", "petPurchase = 1000\n", "\n", "# There are sometimes utility activation or hookup costs\n", "electricalActivation = 10\n", "naturalGasActivation = 10\n", "waterActivation = 0\n", "internetActivation = 0\n", "mobilePhoneActivitation = 25\n", "\n", "mobilePhonePurchase = 300\n", "\n", "furnitureAndAppliances = 500\n", "\n", "movingCosts = 300\n", "\n", "\n", "# ๐Ÿ“š You've finished editing numbers, now run the cell to calculate and store expenses\n", "\n", "if roommate == 1:\n", " movingExpenses = (\n", " damageDeposit + \n", " electricalActivation + \n", " naturalGasActivation + \n", " waterActivation + \n", " internetActivation + \n", " furnitureAndAppliances\n", " ) / 2 + mobilePhoneActivitation + mobilePhonePurchase + movingCosts + petFee + petPurchase\n", "else:\n", " movingExpenses = (\n", " damageDeposit +\n", " electricalActivation + \n", " naturalGasActivation + \n", " waterActivation + \n", " internetActivation + \n", " furnitureAndAppliances + \n", " mobilePhoneActivitation + \n", " mobilePhonePurchase + \n", " movingCosts + \n", " petFee + \n", " petPurchase\n", " )\n", "\n", "%store roommate\n", "%store movingExpenses\n", "print('Moving expenses will be about $' + str(movingExpenses))" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "๐Ÿ“š`Run` the next cell to check that your answers have been stored. If you get an error, make sure that you have run all of the previous code cells in this notebook." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "#๐Ÿ“š Run this cell to check that your answers have been stored.\n", "print('Roommate:', roommate)\n", "print('Moving expenses:', movingExpenses)\n", "with open('moving_out_2.txt', 'r') as file2:\n", " print(file2.read())\n", "with open('moving_out_3.txt', 'r') as file3:\n", " print(file3.read())\n", "with open('moving_out_4.txt', 'r') as file4:\n", " print(file4.read())" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "๐Ÿ“šYou have now completed this section. Proceed to [section 4](./CALM-moving-out-4.ipynb)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "[![Callysto.ca License](https://github.com/callysto/curriculum-notebooks/blob/master/callysto-notebook-banner-bottom.jpg?raw=true)](https://github.com/callysto/curriculum-notebooks/blob/master/LICENSE.md)" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.4" } }, "nbformat": 4, "nbformat_minor": 2 }