Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49eaf6d

Browse files
Fix hello.py and add Hello.ipynb
1 parent 10a885f commit 49eaf6d

File tree

2 files changed

+99
-1
lines changed

2 files changed

+99
-1
lines changed

Hello.ipynb

+98
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"metadata": {
7+
"collapsed": false
8+
},
9+
"outputs": [],
10+
"source": [
11+
"# imports\n",
12+
"\n",
13+
"# There are no imports needed"
14+
]
15+
},
16+
{
17+
"cell_type": "code",
18+
"execution_count": 2,
19+
"metadata": {
20+
"collapsed": false
21+
},
22+
"outputs": [
23+
{
24+
"name": "stdout",
25+
"output_type": "stream",
26+
"text": [
27+
"hello\n"
28+
]
29+
}
30+
],
31+
"source": [
32+
"# Time for Hello! \n",
33+
"\n",
34+
"print(\"hello\")"
35+
]
36+
},
37+
{
38+
"cell_type": "code",
39+
"execution_count": 3,
40+
"metadata": {
41+
"collapsed": false
42+
},
43+
"outputs": [
44+
{
45+
"name": "stdout",
46+
"output_type": "stream",
47+
"text": [
48+
"one more time\n"
49+
]
50+
}
51+
],
52+
"source": [
53+
"# How about one more time\n",
54+
"\n",
55+
"print(\"one more time\")"
56+
]
57+
},
58+
{
59+
"cell_type": "code",
60+
"execution_count": null,
61+
"metadata": {
62+
"collapsed": false
63+
},
64+
"outputs": [],
65+
"source": []
66+
},
67+
{
68+
"cell_type": "code",
69+
"execution_count": null,
70+
"metadata": {
71+
"collapsed": true
72+
},
73+
"outputs": [],
74+
"source": []
75+
}
76+
],
77+
"metadata": {
78+
"kernelspec": {
79+
"display_name": "Python 2",
80+
"language": "python",
81+
"name": "python2"
82+
},
83+
"language_info": {
84+
"codemirror_mode": {
85+
"name": "ipython",
86+
"version": 2
87+
},
88+
"file_extension": ".py",
89+
"mimetype": "text/x-python",
90+
"name": "python",
91+
"nbconvert_exporter": "python",
92+
"pygments_lexer": "ipython2",
93+
"version": "2.7.11"
94+
}
95+
},
96+
"nbformat": 4,
97+
"nbformat_minor": 0
98+
}

hello.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
print(hello)
1+
print("hello")

0 commit comments

Comments
 (0)