Using the data provided, complete the steps outlined below.
students_array = ["Evan Berg", "Robert Silverblatt", "El Toro Roja", "Jared Norcott", "Jessica Franko", "Andy Fritz", "Aaron Gregory", "Dewey", "Janine Harper", "Erica Kantor", "Larkin", "Sarah McDonald", "Jenny Nguyen", "Ariel Olin", "Ryan Parks", "Grayson Reinhard", "Maria Schettino", "Will Schjang", "Neil Sidhu", "Yinan Song", "Ade Ugbogbo", "Jacqueline Williams", "Carrie Xu", "Anastasia Konecky"]- Pull from upstream master.
- Create a
each_practice.rbfile in today's "Classwork" folder. - Within your new file, write code that uses
.eachto print each of the students names to the console. - Save and commit your work with a sensible commit message.
- Now use another
.eachto print"<student> is a student who is learning to learn."for each student instudents_array. - Save and commit your work with a sensible commit message.
- Use
.eachto iterate through the students array, printing"<student> is a part of JCrew"if and only if the student's first name starts with J. - Save and commit your work with a sensible commit message.