Skip to content

Commit 5b1d934

Browse files
committed
Clarified instructions.
1 parent a706229 commit 5b1d934

3 files changed

Lines changed: 22 additions & 106 deletions

File tree

P1 Python Absolute Beginner/Module_1.0_Tutorials_START_HERE.ipynb

Lines changed: 19 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
},
1111
"source": [
12-
"# Tutorial: Python Absolute Beginner Module 1: Introduction (P1M1)\n",
12+
"# P1M1 Tutorial: Python Absolute Beginner Module 1: Introduction\n",
1313
"## Getting started with Python in Jupyter Notebooks\n",
1414
"- **Python 3 in Jupyter notebooks**\n",
1515
"- **`print()`**\n",
@@ -92,15 +92,7 @@
9292
"slide_type": "subslide"
9393
}
9494
},
95-
"outputs": [
96-
{
97-
"name": "stdout",
98-
"output_type": "stream",
99-
"text": [
100-
"Hello World!\n"
101-
]
102-
}
103-
],
95+
"outputs": [],
10496
"source": [
10597
"# Review the code, run the code\n",
10698
"print(\"Hello World!\")"
@@ -110,15 +102,7 @@
110102
"cell_type": "code",
111103
"execution_count": null,
112104
"metadata": {},
113-
"outputs": [
114-
{
115-
"name": "stdout",
116-
"output_type": "stream",
117-
"text": [
118-
"Hello programmer!\n"
119-
]
120-
}
121-
],
105+
"outputs": [],
122106
"source": [
123107
"print(\"Hello programmer!\")"
124108
]
@@ -352,18 +336,9 @@
352336
},
353337
{
354338
"cell_type": "code",
355-
"execution_count": 6,
339+
"execution_count": null,
356340
"metadata": {},
357-
"outputs": [
358-
{
359-
"name": "stdout",
360-
"output_type": "stream",
361-
"text": [
362-
"strings go in single\n",
363-
"or double quotes\n"
364-
]
365-
}
366-
],
341+
"outputs": [],
367342
"source": [
368343
"# examples of printing strings with single and double quotes\n",
369344
"print('strings go in single')\n",
@@ -416,18 +391,9 @@
416391
},
417392
{
418393
"cell_type": "code",
419-
"execution_count": 7,
394+
"execution_count": null,
420395
"metadata": {},
421-
"outputs": [
422-
{
423-
"name": "stdout",
424-
"output_type": "stream",
425-
"text": [
426-
"123\n",
427-
"123\n"
428-
]
429-
}
430-
],
396+
"outputs": [],
431397
"source": [
432398
"print(123) #integer, with numeric value\n",
433399
"print(\"123\") #string, represents text characters"
@@ -466,18 +432,9 @@
466432
},
467433
{
468434
"cell_type": "code",
469-
"execution_count": 8,
435+
"execution_count": null,
470436
"metadata": {},
471-
"outputs": [
472-
{
473-
"name": "stdout",
474-
"output_type": "stream",
475-
"text": [
476-
"299\n",
477-
"2017\n"
478-
]
479-
}
480-
],
437+
"outputs": [],
481438
"source": [
482439
"# printing an Integer with python\n",
483440
"print(299)\n",
@@ -563,18 +520,9 @@
563520
},
564521
{
565522
"cell_type": "code",
566-
"execution_count": 12,
523+
"execution_count": null,
567524
"metadata": {},
568-
"outputs": [
569-
{
570-
"name": "stdout",
571-
"output_type": "stream",
572-
"text": [
573-
"I am a string\n",
574-
"Run this cell using Ctrl+Enter\n"
575-
]
576-
}
577-
],
525+
"outputs": [],
578526
"source": [
579527
"# [ ] Review code and Run\n",
580528
"# initialize the variable\n",
@@ -589,19 +537,11 @@
589537
},
590538
{
591539
"cell_type": "code",
592-
"execution_count": 11,
540+
"execution_count": null,
593541
"metadata": {
594542
"scrolled": true
595543
},
596-
"outputs": [
597-
{
598-
"name": "stdout",
599-
"output_type": "stream",
600-
"text": [
601-
"Run this cell using Ctrl+Enter\n"
602-
]
603-
}
604-
],
544+
"outputs": [],
605545
"source": [
606546
"# [ ] Review code and Run\n",
607547
"# assign a new string to the current_msg\n",
@@ -3124,17 +3064,9 @@
31243064
},
31253065
{
31263066
"cell_type": "code",
3127-
"execution_count": 2,
3067+
"execution_count": null,
31283068
"metadata": {},
3129-
"outputs": [
3130-
{
3131-
"name": "stdout",
3132-
"output_type": "stream",
3133-
"text": [
3134-
"red\n"
3135-
]
3136-
}
3137-
],
3069+
"outputs": [],
31383070
"source": [
31393071
"# review and run code - test a capitalized color input\n",
31403072
"fav_color = input('What is your favorite color?: ').lower()\n",
@@ -3152,18 +3084,9 @@
31523084
},
31533085
{
31543086
"cell_type": "code",
3155-
"execution_count": 5,
3087+
"execution_count": null,
31563088
"metadata": {},
3157-
"outputs": [
3158-
{
3159-
"name": "stdout",
3160-
"output_type": "stream",
3161-
"text": [
3162-
"BLUE reversed\n",
3163-
"NBLAH blahblah\n"
3164-
]
3165-
}
3166-
],
3089+
"outputs": [],
31673090
"source": [
31683091
"def short_rhyme(r1,r2):\n",
31693092
" print(r1.upper(),r2.lower())\n",
@@ -3256,17 +3179,9 @@
32563179
},
32573180
{
32583181
"cell_type": "code",
3259-
"execution_count": 1,
3182+
"execution_count": null,
32603183
"metadata": {},
3261-
"outputs": [
3262-
{
3263-
"name": "stdout",
3264-
"output_type": "stream",
3265-
"text": [
3266-
"Your name is dominic\n"
3267-
]
3268-
}
3269-
],
3184+
"outputs": [],
32703185
"source": [
32713186
"# [] print 3 tests, with description text, testing the menu variable for 'pizza', 'soup' and 'dessert'\n",
32723187
"menu = \"salad, pasta, sandwich, pizza, drinks, dessert\"\n",

P1 Python Absolute Beginner/Module_1.1_Practice.ipynb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"## Getting started with Python in Jupyter Notebooks\n",
1111
"### notebooks, comments, print(), type(), addition, errors and art\n",
1212
"\n",
13+
"The practice notebooks will help you gain hands-on experience with the concepts introduced in the tutorials. Unlike the tutorials, the practice notebooks do not include walkthrough videos. You are learning to complete the code on your own. You can use AI, but you should also try to solve problems independently. By trying to solve them independently, you will reinforce your learning and gain confidence in your coding skills. This will build fundamental skills that will enable you to use AI effectively later. All content in the practice notebooks can be openly shared and discussed in discussions and class sessions.\n",
14+
"\n",
1315
"<font size=\"5\" color=\"#00A0B2\" face=\"verdana\"> <B>Student will be able to</B></font>\n",
1416
"- use Python 3 in Jupyter notebooks\n",
1517
"- write working code using `print()` and `#` comments \n",

P1 Python Absolute Beginner/Module_1.2_Required_Code.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
"# P1M1: Module 1 Required Coding Activity \n",
1111
"This is the \"required code\" activity. Work through the Module 1 Tutorials and Practices prior to attempting this activity.\n",
1212
"Notice that this activity is logically very similar to the Allergy Check activity in the practice module.\n",
13-
"Remmeber, you are not allowed to work with others on this code or post it in Teams for help.\n",
14-
"You can ask related questions about the practice module.\n",
13+
"Remember, you are not allowed to work with others on this code or post it in discussions for help. You can ask related questions with made up examples having similar requirements or examples from the tutorials or practice.\n",
1514
"\n",
1615
"> **NOTE:** This program requires print output and code syntax used in module 1\n",
1716
"\n",

0 commit comments

Comments
 (0)