user
You need to complete the following task:

Given the following code, modify it to print the number of items that are greater than 50.

list = [39, 50, 89, 101]

Answer:
assistant
list = [39, 50, 89, 101]
count = 0
for item in list:
  if item > 50:
    count += 1
print('Number of items greater than 50:', count)