Anonymous user
Boston Python Workshop 6/Friday/CodingBat Using Codingbat: Difference between revisions
Boston Python Workshop 6/Friday/CodingBat Using Codingbat (view source)
Revision as of 22:48, 29 March 2012
, 12 years agono edit summary
imported>Adamf (Created page with "===Using CodingBat=== CodingBat is a little different from using python at the command line or in a text editor like we've been doing. When you use CodingBat you type your co...") |
imported>Jesstess No edit summary |
||
Line 1:
We are going to use a website called CodingBat.com to practice Python throughout this workshop.
Before you do the CodingBat questions for the Friday tutorial, let's walk through how to use CodingBat.com with an example.
===Using CodingBat===
CodingBat is a little different from using
The way CodingBat works is that your write a function (the first line of the function is written for you), and CodingBat will run your function a few times, each time with a different input. CodingBat will look at the output of your function and compare it to the correct answer. If all the outputs are correct for all the inputs, you're done!
|