8000 updated! · sru0309/python_practices@ec000a5 · GitHub
[go: up one dir, main page]

Skip to content

Commit ec000a5

Browse files
committed
updated!
1 parent eda2f2f commit ec000a5

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

03-python-operators-conditional-statements.ipynb

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,23 +142,21 @@
142142
},
143143
{
144144
"cell_type": "code",
145-
"execution_count": 1,
145+
"execution_count": 3,
146146
"id": "87a23437",
147147
"metadata": {},
148148
"outputs": [
149149
{
150-
"ename": "SyntaxError",
151-
"evalue": "invalid syntax (2772452277.py, line 3)",
152-
"output_type": "error",
153-
"traceback": [
154-
"\u001b[1;36m Input \u001b[1;32mIn [1]\u001b[1;36m\u001b[0m\n\u001b[1;33m y=(1:'a',2:'b')\u001b[0m\n\u001b[1;37m ^\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m invalid syntax\n"
150+
"name": "stdout",
151+
"output_type": "stream",
152+
"text": [
153+
"True\n"
155154
]
156155
}
157156
],
158157
"source": [
159158
"#Membership operators\n",
160159
"x = 'hello world'\n",
161-
"y=(1:'a',2:'b')\n",
162160
"\n",
163161
"print('h'in x)"
164162
]

09-random-module.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@
466466
"metadata": {},
467467
"outputs": [],
468468
"source": [
469-
"#pssaword generator\n",
469+
"#password generator\n",
470470
"az =''\n",
471471
"for i in range(97,123):\n",
472472
" az += chr(i)\n",

0 commit comments

Comments
 (0)
0