From: Justin Kitzes Date: Mon, 4 Mar 2013 18:58:07 +0000 (-0800) Subject: Add capitalization to loop code X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f98a17d90f5ce6195b46e6129ede211e46730d36;p=swc-testing-nose.git Add capitalization to loop code --- diff --git a/python/testing.md b/python/testing.md index 4829388..d4911ef 100644 --- a/python/testing.md +++ b/python/testing.md @@ -218,7 +218,10 @@ written this code in the previous lesson, so we can simply erase our existing # Load table tab = ml.csv2rec(filename) - + + # Standardize capitalization of focusanimal + focusanimal = focusanimal.capitalize() + # Loop through all records, countings recs and animals totalrecs = 0 totalcount = 0