1. Engineering
  2. Computer Science
  3. 6a the list below contains various cuny school names...

Question: 6a the list below contains various cuny school names...

Question details

# 6a) The list below contains various CUNY school names. # Print out only the last item in the list. 3 schools[John Jay, Hunter, Baruch, City College] 4 7 8 # 6b) Use a for loop to go through each score in # the given list of scores. # If a score is at least 60, print Passing 10 # otherwise, print Not Passing 11 scores [98, 54, 86, 80, 59, 77, 92, 83, 94, 88] 12 13 14 # 6c) Modify the code to get 5 student scores. 15 # Create an empty list for student names instead of scores. 16 # Use a loop to input 5 names into the list, 17 # using the append() function. 18 # Print the list as it is, 19 # then use sort to put the ïïst into order. 20 # Print the list again. 21

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution