Unformatted text preview: print 'reference the formula is:' print ' 1 cup = 8 fluid ounces' print # The cups_to_ounces function accepts a number of # cups and displays the equivalent number of ounces. def cups_to_ounces(cups): ounces = cups * 8 print 'That converts to', ounces, 'ounces.' # Call the main function. main()...
View Full Document
This note was uploaded on 07/15/2010 for the course CSE CSE1530 taught by Professor Lew during the Spring '09 term at York University.
- Spring '09