Dictionary comprehension in Python

Example:

friends = ["Rolf", "Bob", "Jen", "Anne"]
time_since_seen = [3, 7, 15, 11]

long_timers = {
  friends[i]: time_since_seen[i]
  for i in range(len(friends))
  if time_since_seen[i] > 5
}

print(long_timers)
Output:
{'Bob': 7, 'Jen': 15, 'Anne': 11}