<filename>Example Code/01 Variables, Data Types, Input and Output/source/CookieRecipe2.py
cupsOfButter = 1.0
cupsOfWhiteSugar = 1.0
cupsOfBrownSugar = 1.0
cupsOfFlour = 3.0
cupsOfWalnuts = 1.0
cupsOfChocolateChips = 2.0
eggs = 2.0
teaspoonsOfVanilla = 2.0
teaspoonsOfBakingSoda = 1.0
teaspoonsOfWater = 2.0
teaspoonsOfSalt = 0.5

print( "Chocolate Chip Cookies" )
print( str( cupsOfButter ) + " cup butter, softened" )
print( str( cupsOfWhiteSugar ) + " cup white sugar" )
print( str( cupsOfBrownSugar ) + " cup packed brown sugar" )
print( str( eggs ) + " eggs" )
print( str( teaspoonsOfVanilla ) + " teaspoons vanilla extract" )
print( str( cupsOfFlour ) + " cups all-purpose flour" )
print( str( teaspoonsOfBakingSoda ) + " teaspoon baking soda" )
print( str( teaspoonsOfWater ) + " teaspoons hot water" )
print( str( teaspoonsOfSalt ) + " teaspoons salt" )
print( str( cupsOfChocolateChips ) + " cups semisweet chocolate chips" )
print( str( cupsOfWalnuts ) + " cup chopped walnuts" )

<filename>Example Code/01 Variables, Data Types, Input and Output/source/CookieRecipe2.py
cupsOfButter = 1.0
cupsOfWhiteSugar = 1.0
cupsOfBrownSugar = 1.0
cupsOfFlour = 3.0
cupsOfWalnuts = 1.0
cupsOfChocolateChips = 2.0
eggs = 2.0
teaspoonsOfVanilla = 2.0
teaspoonsOfBakingSoda = 1.0
teaspoonsOfWater = 2.0
teaspoonsOfSalt = 0.5

print( "Chocolate Chip Cookies" )
print( str( cupsOfButter ) + " cup butter, softened" )
print( str( cupsOfWhiteSugar ) + " cup white sugar" )
print( str( cupsOfBrownSugar ) + " cup packed brown sugar" )
print( str( eggs ) + " eggs" )
print( str( teaspoonsOfVanilla ) + " teaspoons vanilla extract" )
print( str( cupsOfFlour ) + " cups all-purpose flour" )
print( str( teaspoonsOfBakingSoda ) + " teaspoon baking soda" )
print( str( teaspoonsOfWater ) + " teaspoons hot water" )
print( str( teaspoonsOfSalt ) + " teaspoons salt" )
print( str( cupsOfChocolateChips ) + " cups semisweet chocolate chips" )
print( str( cupsOfWalnuts ) + " cup chopped walnuts" )
