title: print list and separate values by a comma comma and end with a dot
body: <pre><code>printf("Open lockers: ");
  for(int i = 0; i &lt; sizeof(lockers); i++){
      if (lockers[i] == true){
          if(i == sizeof(lockers) - 1){
              printf(" %d.", i +1);
          }else
              printf(" %d,", i +1);
      } 
  }
  </code></pre>
  
  <p>//This is what i got but it doesn't work for when i change list size</p>