This preview shows page 1. Sign up to view the full content.
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
- Spring '09