Introduction to Python Coding

Teacher: David
Customers Who Have Viewed This Course: 9883
$199.00

0 Course Introduction 03:55

1 Print() and input() functions 17:31

In the first lesson, we learn how the print() function works and write our first lines of code using the print() function. We will see the results of the print() command as output. Then, we will add an input() function which will prompt the user for an input and wait until an input is received before continuing. 

You should view the vocab for this lesson in the Documents tab and work hard to commit the vocab to memory.

1 Print() function solution 01:48

This is the solution code for the print() function assignment.

2 Variables, assignment operator and concatenation 12:01

Lesson 1.2 uses the skills we covered in Lesson 1.1 and introduces variables, assignment operator, and concatenation.

2 Variables, assignment operator and concatenation assignment solution code 07:01

Solution code for variables, assignment operator and concatenation assignment

3 Values and concatenation 16:24

This lesson defines a value and demonstrates how to concatenate string data. Also defined are data types (string, integer, float), and literals.

3 Values and concatenation solution code 02:16

Solution for Lesson 1.4 assignment.

4 Concatenation continued and number input 11:00

We review and contine with concatenation and include number input. Data type conversion is also practiced.

4 Concatenation continued and number input 03:55

This lesson continues with concatenation of data values and demonstrates using number input in the concatenation of data values.

5 Using variables, assignments, inputs, prints, and typecasting 16:28

In this student activity, you will practice with creating varialbe assignments, creating varialbe assignments using inputs, print statments and data typecasting. You will also create a simple math calculation and print the results in a string.

5 Using variables, assignments, inputs, prints, typecasting practice 04:54

Solution for Lesson 1.6, using variables, assignments, inputs, prints, typecasting

6 QUIZ - Sections 1.1 - 1.6 25:00

You may use any of the past coding exercises you have completed to help with this quiz. You may also use the Thonny IDE to write or copy code from the quiz to test it out. Lastly, feel free to use the Internet to search for answers or solutions.

Coding is not done in a vacuum and developing strong search skills and learning how to use additional resources to write code is fully acceptable.

7 Expressions and basic math operators 10:26

This lesson explores expressions and uses mathamatical operators to begin creating simple calculations.

7 Solution for expressions and basic math operators 01:38

This is the solution code for Lesson 1.7 assignment.

8 Typecasting an expression 06:20

This lesson shows how to typecast (change the data type) of an expression and uses math operators to do simple calculations.

8 Solution for typecasting an expression 02:46

Solution for typecasting an expression

9 The modulus operator (%) 15:29

This lesson defines and shows how to use the modulus operator (%)>

9 Solution for Lesson 1.9 modulus operator 03:04

Solution for Lesson 1.9 modulus operator.

10 UNIT 1 EXAM 25:00

Unit 1 exam covers sections 1.1 through 1.9. Click on the Tests tab to access the exam. Good luck.

11 Statements 10:38

This uint introduces the if statement. The if statement allows code to make comparisons and determine if some code should be skipped or not. The if statement is one of the most powerful and important coding tools we use.

11 Solution for Lesson 2.1 Statements 01:35

This shows the solution for the assignment in Lesson 2.1, using the if-statement.

12 Conditionals and if-clause 07:47

Here is an example of the if-clause and the introduction of the lesson assignment.

12 Solution for Lesson 2.1.1 Conditionals and if-clause 03:59

Solution for Lesson 2.1.1 Conditionals and if-clause

13 Running total and limit number 08:53

Use conditionals to create running total and limit number input.

13 Solution for running total and limit number assignments 03:56

This is the solution for lesson 2.2, running total and limit number assignments.

14 Using conditionals 03:20

Create a program where a user can chose a character, assign magic and pick a traveling companion. The character's power is determined by which character is chosen, if magic is selected, and which traveling companion is picked.

14 Conditionals practice solution code 03:05

Solution code for conditionals practice assignment, Lesson 2.2.1

15 If-elif-else 06:37

This video introduces the if - elif - else conditionals. This will allow the code consider additional conditions. Examples are in the next lesson.

15 Solution for if-elif-else assignment 06:20

Here's a coding assignment using the if - elif - else conditional that asks a user to guess your secret number and tells them if their guess is too high, too low or just right!

16 Boolean values, conditions, & expressions 05:36

This video introduces Boolean values, basically a True or False value. We will also look at logical operators (and, or, not).

16 Boolean operators 11:37

Here are some examples of Boolean values and operators in use.

17 Nested conditionals 09:35

Using nested if statements

17 Solution for Nested Conditionals Lesson 2.6 02:22

Solution code for nested conditionals, Lesson 2.6

18 Using nested conditionals 03:35

In this assignment, you will create a weather checker to help you decide if you should go outside. You will use nested conditionals containing if's, elif's and else's to check multiple conditions.

18 Solution for using nested conditionals, if, elif, else, Lesson 2.7 03:12

Solution code and video for using nested conditionals, if, elif, else, Lesson 2.7

19 QUIZ - Sections 2.1 - 2.7 25:00

This is the section 2 quiz and covers the material from lesson 2.1 through lesson 2.7. Feel free to use any code you have from these lessons as well as the Internet as a resource. Good luck

20 While loops 06:45

Introduction to while loops. A while loop let us repeated run certain lines of code without having to rewrite those lines of code multiple times.

20 Solution for while loops assignment, Lesson 2.8 03:18

Solution code and video for while loops, Lesson 2.8

21 Breaking a loop 07:29

This demo shows how to break out of a while loop before the loop ends. We use the 'break' command to end a loop. See the demo video for details!

21 Solution for breaking a loop assignment 02:43

Solution code and video for breaking a loop

22 Using while loops 04:57

Work through the 3 short coding assignments that use while loops. These assignments are simple games I think you'll like coding and playing.

22 Solution for using loops assignment, Lesson 2.10 04:55

Solution code and video for using loops assignment, Lesson 2.10

23 Using loops assignment - continued, Lesson 2.10.1 04:57

This is a continuation of the using loops assignment from Lesson 2.10

23 Solution for using loops - continuation, Lesson 2.10.1 04:56

Solution code and video for using loops, Lesson 2.10.1

24 Using loops assignment - continued, Lesson 2.10.2 04:57

Using loops assignment - continued, Lesson 2.10.2

24 Solution for using loops assignment - continued, Lesson 2.10.2 04:55

Solution for using loops assignment, Lesson 2.10.2

25 Random library and randint() function 05:25

This video introduces the concept of libraries that can be imported into Python and looks at the randint() function specifically. 

25 Solution for random library and randint() function 01:05

Solution code and video for using the random library and the randint() function.

26 Import libraries 07:25

See the video for an instructor-led example on importing the ranndom library and using the randint() function. In this short code exercise, we create a coin toss game.

26 Solution for import random library and using randint() 02:50

Solution for import random library and using random.randint() for Lesson 2.12, coin toss game.

27 Variable assignment using random.randint() 07:25

You will create a random ice-cream choosing program using the random library and the randint() function.

27 Solution for variable assignment using random.randint() 02:21

Solution code and video for variable assignment using random.randint(), Lesson 2.13

28 UNIT 2 EXAM 25:00

This is the Unit 2 exam. You may feel free to use ALL resources from previous lessons as well as any Internet resources. 

29 Optional Final Project 06:30

Here is an optional final project to explore. It's an online restaurant menu where a user can order various menu items and the program keeps track of the costs and calculates the total. See the details in the document included in the "Documents" tab above.

Course Overview

This introductory Python coding course is for students wishing to learn a fun, exciting and easy to-master-coding language. The Python language is one of the top 3 coding languages being used in the world today. Game design, website design, app development, scientific research and data science are just a few of the in-demand careers using Python.

This course requires no prior coding knowledge or experience. We start with the basics and grow until we are creating programs that include interactive story games, creating basic calculators, making simple two-player games and much more!

This course includes:

This is a syntax-based course, which means we will be writing the actual code, not using pre-defined logic blocks and simply dragging them to a console. Students will learn about the functions and commands used in the Python coding language.   

  • No prior coding experience needed!
  • 2 complete units designed to introduce students to python coding language
  • 29 video lessons
  • Lessons are broken in short, focused videos with accompaning assignments
  • 30+ individual coding assignments
  • Uses the free thonny ide (integrated development environment) Thonny ide: https://thonny.Org
  • 2 mid-unit quizzes
  • 2 unit exams
  • Complete vocab of python terms used
  • Over 5 hours of lesson videos with detailed examples
  • Solution code for all assignments is provided

 

Course Goals

Upon completion of this course, students will be able to:

  • understand the most basic building blocks of a program (i.e. statements, expressions, variables, and values)
  • combine them to write straight-line programs.
  • write syntactically correct code.
  • interact with the IDE, both to receive input and generate output.
  • recognize that errors commonly occur while writing and extending programs
  • be comfortable investigating and fixing such errors.
  • write programs that make decisions based on input.
  • write correctly indented code that is easy to read.
  • understand the concept of a library and how to import them for additional functionality.
  • be familiar with techniques for independently investigating and fixing errors in programs, such using print statements and debugger tools.

Essential Learning (core concepts & performance expectations)

These are the Core Concepts that will be covered in this course.

Statements & Variables                                      Booleans

Values                                                                 While Loops

Expressions                                                        Randomness & Libraries

Step-Through                                                      Function Calls

Conditionals - If-Then Else                                  Debugging Techniques

Target Audience

This course is designed primarily for middle school level students (5th through 8th grade). However, early high school students with limited or no prior coding experience may find this course very helpful as an introductory class in Python coding.

Course Requirements

There is no prerequisite for this course.

 

COURSE TOPICS

Unit 1 –

Topics

Statements and Variables

o   Print function

o   Input function

o   Variables

o   Assignment operator (=)

Values

o   Concatenation

o   Concatenating Numbers

o   Number Input

Expressions

o   Increment and Decrement Operators

o   Typecasting Expressions

o   Modulus Operator

Unit 2 –

Topics

Conditionals

o   If Clause

o   Elif Clause

o   Else  

Booleans – True, False

o   Storing Booleans

o   Simple Conditions

o   Limited Range

o   Nested Conditionals

While Loops

o   Breaking a Loop

o   Forcing Correct Input

o   Alternating Loops

o   Nested Loops

Randomness and Libraries

o   Random Choice

o   Random.randint() function

Debugging methods and strategies

  • Teacher: David
  • Areas of expertise: Middle School level coding in Python.
  • Education: Master of Education - Instructional Technology Microsoft certified Data Scientist
  • Interests: Boating, gardening, bee keeping, raising laying chickens.
  • Skills: Handyman, all home projects, IOT for beekeeping data collection.
  • Associations: Licensed teacher, Washington State Endorsements: Middle Level Teacher, CTE-STEM K-12 Member National Education Association
  • Issues I care about: online education, career and technical education, preparing students for a career that's in demand and they enjoy.

The goal of any teacher should be to prepare our students for a career that likely does not current exist.

Test Preparation Document

Test Preparation Document

Digital Quizzes and Tests Answer Keys Document

Digital Quizzes and Tests Answer Keys Document

Introduction to Python Coding Course Description

Course:         Introduction to Python Coding

Course summary and goals:

Introduction to Python Coding

This course uses the Thonny IDE (integrated development environment) to explore basic coding logic and program design using Python coding syntax. The lesson are designed to develop both a strong foundation in computer science concepts and a mastery of coding techniques. Rigorously designed to support national K-12 computer science standards as well as NGSS and Common Core. Unlike typical online curricula, this blended model places a teacher at the center of instruction to provide students with an in-depth and flexible learning experience. The course provides students with approximately 90 hours of coding during a traditional semester.

Essential Learning (core concepts & performance expectations)

These are the Core Concepts that will be covered in this course.

Statements & Variables                           Booleans

Values                                                   While Loops

Expressions                                           Randomness & Libraries

Step-Through                                        Function Calls

Conditionals - If-Then Else                      Debugging Techniques

PLEASE CLICK ON THE 'DOCUMENTS' TAB TO SEE THE COMPLETE COURSE DESCRIPTION.

Unit 1 Quiz Solution Key

This is the solution key for the unit 1 Quiz

Unit 1 Exam Solution Key

Select the documents tab above to view the unit 1 exam solution key.

Unit 2 Quiz Solution Key

Select the documents tab above to view the unit 2 quiz solution key.

Unit 2 Exam Solution Key

Select the documents tab above to view the unit 2 exam solution key.

Customers who bought this item also bought
This High School elective course can be used as a Science or Career and Technical Education(CTE) course. Topics covered include: Video game history, careers, design basics, developing/presenting your game concept, creating games with the Unity game engine, C# programming, and more. +
$349.00 $94.02
An essential course for preteens and young teens, this engaging series offers relevant, useful, and lifelong strategies that motivate students to achieve their personal bests in academics, emotional wellbeing, stress management, physical health, relationships, and character development. +
$299.00
The purpose of this course is to provide students with a foundation of knowledge and technically oriented experiences in the study of technology systems. +
$199.00

Preset Color