Commit a6c7ec24 authored by Andrew Gibiansky's avatar Andrew Gibiansky

minor stupid things

parent 7d4a92ef
......@@ -80,6 +80,35 @@
"outputs": [],
"prompt_number": 1
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"main =\n",
" do putStrLn \"Which food trip do you want to go to? [ramen/sushi/dimsum]\"\n",
" answer <- getLine\n",
" case answer of\n",
" \"ramen\" -> putStrLn \"South courtyard, 11am Saturday, 3/8.\"\n",
" \"sushi\" -> putStrLn \"South courtyard, 5pm Saturday, 3/8\"\n",
" \"dimsum\" -> putStrLn \"South courtyard, 11am Sunday, 3/9\"\n",
" _ -> putStrLn \"That's not on the menu, RTFM.\"\n",
" \n",
"main"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "display_data",
"text": [
"Which food trip do you want to go to? [ramen/sushi/dimsum]\n",
"That's not on the menu, RTFM."
]
}
],
"prompt_number": 3
},
{
"cell_type": "code",
"collapsed": false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment