I am trying to loop through an array of strings and get it to print but I keep getting this error:
TypeError: an integer is required (got type str)
This is what I have so far because I erased everything else I had written.
from array import *
days = array(‘B’, [‘Monday’, ‘Tuesday’, ‘Wednesday’, ‘Thursday’, ‘Friday’, ‘Saturday’, ‘Sunday’])
I know I can figure out the loop but how do I get it to print?