From b687475297855f2ff67f4d9b182836fb75049051 Mon Sep 17 00:00:00 2001 From: Jeffrey Katz Date: Tue, 27 Mar 2018 12:55:40 -0400 Subject: [PATCH] fix typo:close issue --- index.ipynb | 71 +++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 55 insertions(+), 16 deletions(-) diff --git a/index.ipynb b/index.ipynb index 0eb5425084..89886c46aa 100644 --- a/index.ipynb +++ b/index.ipynb @@ -119,7 +119,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "email" @@ -142,7 +144,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "website = \"vandelay.com\"\n", @@ -187,7 +191,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "name = 'Art Vandalay'\n", @@ -204,7 +210,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "email\n" @@ -227,7 +235,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "\"Send an email to Art Vandalay at 'art.vandelay@vandelay.com' to tell say how nice it was meeting yesterday.\"" @@ -243,7 +253,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "\"Send an email to \" + name + \" at \" + email + \" to say how nice it was meeting yesterday.\"" @@ -278,7 +290,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "name # 'Liz Kaplan'" @@ -287,7 +301,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "email # 'liz@ka-plan.com'" @@ -303,7 +319,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "\"Send an email to \" + name + \" at \" + email + \" to tell him how nice it was meeting him yesterday.\"" @@ -333,7 +351,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "name" @@ -342,7 +362,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "name.upper()" @@ -351,7 +373,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "name.title()" @@ -378,7 +402,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "name.upper()" @@ -394,7 +420,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "name" @@ -410,7 +438,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "name = 'Liz Kaplan'\n", @@ -428,10 +458,19 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "In this lesson, we got a taste for what makes computer programs so powerful. By using variables, we can write programs that know how to combine data. This can save us time by avoiding boring, repetitive tasks. We declare and assign a variable with the pattern of `variable = data`. And reassign a variable with the same pattern. To refernece a variable, we simply type the variable's name. \n", + "In this lesson, we got a taste for what makes computer programs so powerful. By using variables, we can write programs that know how to combine data. This can save us time by avoiding boring, repetitive tasks. We declare and assign a variable with the pattern of `variable = data`. And reassign a variable with the same pattern. To reference a variable, we simply type the variable's name. \n", "\n", "We also saw that one of the things to pay attention to when working with variables is that they are sometimes different from what we expect. So we just type the name of the variable, to see what it really is and make the change. " ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [] } ], "metadata": {