Numbers and Conditionals

 Unit 2 Assignments:

The first assignment is a Google Doc that takes you through some math in the Python shell.  You’ll turn that in using Google Classroom.

The second assignment is a program that asks the user for two angles in a triangle, then calculates the third.

Assignment 2b

The third assignment is to make a program called food.py using conditionals.

Assignment 2c

The fourth assignment is to make a simple number game program.

Assignment 2e

There is one optional assignment, to make the beginning of a simple ‘adventure game’.   You can read about it here.

Adventure Game assignment (optional).

When you’re done with Unit 2, you will have turned in the following projects:

Triangle
Food
NumberGame1

And optionally,

Adventure1

Resources

If you want to do fancy math things, like trigonometry or find square roots, you’ll need to use the math module.  This video shows a little about how to use the math module in your programs.

Math Module from Mark Sobkowicz on Vimeo.