tamalpais union high school district · web viewthe site should direct you to the online interface...

4
Intro to Python Activity September 13, 2017 Objectives: - Learn the basics of Python syntax for the following topics: o Variables and Data Types o Whitespace, statements, and comments in Python o Math Operations o Strings and common String methods o Printing and advanced printing procedures Directions: READ ALL THREE PAGES OF THIS DOCUMENT! 1. Go to the Code Academy course for Python: https://www.codecademy.com/learn/python , click “Start” and when prompted, enter an e-mail, password, and username to access the course. You may want to use your Tamalpais Google account that you would use for Google classroom. 2. The site should direct you to the online interface for Code Academy’s Python course, and will start with Unit 1, Lesson 1. On the left side of this screen (shown below) are the instructions and the information for each lesson. In the middle of the screen is where you will enter code, and on the top right (the small black box) is where you will observe the output for the code you entered.

Upload: others

Post on 22-Sep-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Tamalpais Union High School District · Web viewThe site should direct you to the online interface for Code Academy’s Python course, and will start with Unit 1, Lesson 1. On the

Intro to Python Activity September 13, 2017

Objectives:

- Learn the basics of Python syntax for the following topics:o Variables and Data Typeso Whitespace, statements, and comments in Pythono Math Operationso Strings and common String methodso Printing and advanced printing procedures

Directions: READ ALL THREE PAGES OF THIS DOCUMENT!

1. Go to the Code Academy course for Python: https://www.codecademy.com/learn/python , click “Start” and when prompted, enter an e-mail, password, and username to access the course. You may want to use your Tamalpais Google account that you would use for Google classroom.

2. The site should direct you to the online interface for Code Academy’s Python course, and will start with Unit 1, Lesson 1. On the left side of this screen (shown below) are the instructions and the information for each lesson. In the middle of the screen is where you will enter code, and on the top right (the small black box) is where you will observe the output for the code you entered.

3. You must click the blue “Save and Submit Code” button to generate output and you must generate the correct output to receive credit for the lesson. In the bottom left of the screen you will see the lesson number for the Unit you are on. For example, the lesson for the screen above is “2. Variables.” You can view other lessons by clicking this region (see the next page of this document for more details on this)

Page 2: Tamalpais Union High School District · Web viewThe site should direct you to the online interface for Code Academy’s Python course, and will start with Unit 1, Lesson 1. On the

4. When you are in your workspace, you can access your progress for the Unit by clicking on the bottom left of the screen, which shows the current lesson you are working on (circled in red below).

When you click this, a menu will appear with the Lessons listed for the unit (see examples below). When you successfully complete a lesson, the computer will indicate that will a little green “checkmark” next to the lesson completed (see the examples below).

I WILL BE CHECKING YOUR GREEN “CHECKMARKS” FOR EACH LESSON when I return next week!! Notice in the example below for Unit One, the “Welcome!” and “Variables” lessons have green checkmarks to show completion.

Unit One Overview: Unit Two Overview:

Page 3: Tamalpais Union High School District · Web viewThe site should direct you to the online interface for Code Academy’s Python course, and will start with Unit 1, Lesson 1. On the

IMPORTANT: You should complete ALL of Unit 1 and through Lesson 11 in Unit 2. Below is a screenshot of Unit 1 and 2, and the Tip Calculator Lesson that you can find in the initial Python course overview page. The red circles highlight the lessons you should complete.