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 2d

The final assignment is to make a program that solves quadratic equations.

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, your Unit 2 folder will have the following programs:

triangle.py
food.py
number_game.py
quadratic.py

And optionally,

adventure.py

 

 

Resources

Some Videos:  

Getting Numbers from the User from Mark Sobkowicz on Vimeo.

Math Module from Mark Sobkowicz on Vimeo.

Conditionals from Mark Sobkowicz on Vimeo.