Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for tripple in current_tripples:
- if tripple in existing_tripples:
- existing_contact_times[current_tripples.index(tripple)] += 1
- else:
- existing_tripples.append(tripple)
- existing_contact_times.append(1)
- contact_ended = False
- for tripple in existing_tripples:
- if tripple not in current_tripples:
- total_contact_times.append(
- existing_contact_times[existing_tripples.index(tripple)])
- contact_ended = True
- del existing_contact_times[existing_tripples.index(tripple)]
- del existing_tripples[existing_tripples.index(tripple)]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement