A box can fit a maximum of 5 items. Given three groups of items, num_itemsA, num_itemsB, and
Fantastic news! We've Found the answer you've been seeking!
Question:
A box can fit a maximum of 5 items. Given three groups of items, num_itemsA, num_itemsB, and num_itemsC, assign num_full_boxes with the number of full boxes that the items will take up. The program will convert num_full_boxes to an integer and print the value.
Sample output for inputs: 1 2 4
Number of full boxes: 1 Code given: num_full_boxes = 0.0 num_itemsA = int(input()) num_itemsB = int(input()) num_itemsC = int(input()) ''' solution goes here ''' print(f'Number of full boxes: {int(num_full_boxes)}')
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: