It takes exactly 2 minutes and 7 second to produce an item. Unfortunately, after 143 items are
produced, the fabricator must cool off for 5 minutes and 13 seconds before it can continue. Write a
program that will calculate the amount of time required to manufacture a given number of items.
Output the amount of time D days HH:MM:SS
I'm having so much trouble that I literally only have:
numItems = raw_input("Type in number of items to produce ")
I tried doing this whole deal at first where I could make a list ranging from for example:
range(1, 1341), find the 143rd position, add 2 minutes and 7 seconds to a variable called time, and then multiply 143rd position by 2 so I could find the 286th position, add another 2 minutes and 7 seconds to the variable called time, but then this error message comes up and I get really frustrated and erase my program.
I'm in desperate need of help. Please maybe give me a starter so I could go off from there?