X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=Untitled1.ipynb;fp=Untitled1.ipynb;h=bf17f6fa51db70b873b08119ffc8d3273a512ad5;hb=de51be530fd87391e8dab7c2f39d33152dba2515;hp=0000000000000000000000000000000000000000;hpb=97baf6982438b3ada82ab113f4d7e075e7291c4f;p=cas-master-teacher-training.git

diff --git a/Untitled1.ipynb b/Untitled1.ipynb
new file mode 100644
index 0000000..bf17f6f
--- /dev/null
+++ b/Untitled1.ipynb
@@ -0,0 +1,75 @@
+{
+ "metadata": {
+  "name": "",
+  "signature": "sha256:383dbd07426142dba085750cea664fb5a2eb5d274834904c9266a800ddf86c5c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+  {
+   "cells": [
+    {
+     "cell_type": "code",
+     "collapsed": false,
+     "input": [
+      "def anagram1(word1, word2):\n",
+      "    return sorted(word1) == sorted(word2)"
+     ],
+     "language": "python",
+     "metadata": {},
+     "outputs": [],
+     "prompt_number": 2
+    },
+    {
+     "cell_type": "code",
+     "collapsed": false,
+     "input": [
+      "anagram1('happy', 'sad')"
+     ],
+     "language": "python",
+     "metadata": {},
+     "outputs": [
+      {
+       "metadata": {},
+       "output_type": "pyout",
+       "prompt_number": 3,
+       "text": [
+        "False"
+       ]
+      }
+     ],
+     "prompt_number": 3
+    },
+    {
+     "cell_type": "code",
+     "collapsed": false,
+     "input": [
+      "anagram1('happy', 'hpayp')"
+     ],
+     "language": "python",
+     "metadata": {},
+     "outputs": [
+      {
+       "metadata": {},
+       "output_type": "pyout",
+       "prompt_number": 4,
+       "text": [
+        "True"
+       ]
+      }
+     ],
+     "prompt_number": 4
+    },
+    {
+     "cell_type": "code",
+     "collapsed": false,
+     "input": [],
+     "language": "python",
+     "metadata": {},
+     "outputs": []
+    }
+   ],
+   "metadata": {}
+  }
+ ]
+}
\ No newline at end of file