Skip to content

Instantly share code, notes, and snippets.

@pao
Created November 9, 2014 06:28
Show Gist options
  • Save pao/dbd0a405a56afd6dbfa2 to your computer and use it in GitHub Desktop.
Save pao/dbd0a405a56afd6dbfa2 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{"metadata": {"name": "", "signature": "sha256:3a72c5fe05c1da4afd59c9a0cd0a47ebfbe6c4a1cb69fe4d5b855c8737d4bc13", "kernelspec": {"language": "julia", "name": "julia", "display_name": "Julia"}}, "nbformat_minor": 0, "nbformat": 3, "worksheets": [{"metadata": {}, "cells": [{"collapsed": false, "input": "[1:5]", "outputs": [{"metadata": {}, "output_type": "pyout", "prompt_number": 2, "text": "5-element Array{Int64,1}:\n 1\n 2\n 3\n 4\n 5"}], "prompt_number": 2, "language": "python", "cell_type": "code", "metadata": {"trusted": true}}, {"collapsed": false, "input": "reverse([1:5])", "outputs": [{"metadata": {}, "output_type": "pyout", "prompt_number": 3, "text": "5-element Array{Int64,1}:\n 5\n 4\n 3\n 2\n 1"}], "prompt_number": 3, "language": "python", "cell_type": "code", "metadata": {"trusted": true}}, {"collapsed": false, "input": "[1:2:99]", "outputs": [{"metadata": {}, "output_type": "pyout", "prompt_number": 4, "text": "50-element Array{Int64,1}:\n 1\n 3\n 5\n 7\n 9\n 11\n 13\n 15\n 17\n 19\n 21\n 23\n 25\n \u22ee\n 77\n 79\n 81\n 83\n 85\n 87\n 89\n 91\n 93\n 95\n 97\n 99"}], "prompt_number": 4, "language": "python", "cell_type": "code", "metadata": {"trusted": true}}, {"collapsed": true, "input": "", "outputs": [], "language": "python", "cell_type": "code", "metadata": {"trusted": true}}]}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment