Day 114: Coding Challenge Day 1

For Days 114-116, students will be working on a coding challenge. I am having students code a series of calculators in Python using Cloud9 IDE to eventually build up to a stoichiometry calculator. Today, we started by coding a basic mass -> moles calculator if the mass and molar mass are provided by the user. Most students in my double-blocked classes were able to additionally code a solution volume ->  moles calculator. This challenge was a little trickier because I had students assume the input volume was in mL. Over the next 3 days, students will additionally work their way through a gas volume -> moles calculator, a mole calculator that takes any input (mass, sol’n volume, gas volume) and finally a stoichiometry calculator that takes any input and returns any output.

stoichiometry_project - Cloud9.clipular

Advertisements

One thought on “Day 114: Coding Challenge Day 1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s