A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://opentechschool.github.io/python-data-intro/files/shopping_list.ipynb below:

{ "metadata": { "name": "shopping_list" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "code", "collapsed": false, "input": "shopping_list = [ \"bananas\", \"carrots\", \"tea\" ]", "language": "python", "metadata": {}, "outputs": [], "prompt_number": 6 }, { "cell_type": "code", "collapsed": false, "input": "print(shopping_list)", "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": "['bananas', 'carrots', 'tea']\n" } ], "prompt_number": 7 }, { "cell_type": "code", "collapsed": false, "input": "if \"bananas\" in shopping_list:\n print(\"Don't forget to get the bananas!\")", "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": "Don't forget to get the bananas!\n" } ], "prompt_number": 8 }, { "cell_type": "markdown", "metadata": {}, "source": "## Things to try\n\n* Change the first cell to add different items to the shopping_list. Rerun the second and third cells to see the differences in out.\n\n* " } ], "metadata": {} } ] }

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4