# TypeError '\>' not supported between instances of 'list' and 'float' (feedback only after 1.5s)

**URL:** <https://discourse.psychopy.org/t/typeerror-not-supported-between-instances-of-list-and-float-feedback-only-after-1-5s/18968>\
**Category:** Builder\
**Created:** [December 14, 2020, 12:15pm UTC](https://discourse.psychopy.org/t/typeerror-not-supported-between-instances-of-list-and-float-feedback-only-after-1-5s/18968 "2020-12-14T12:15:14Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [May 24, 2021, 12:14pm UTC](https://discourse.psychopy.org/t/typeerror-not-supported-between-instances-of-list-and-float-feedback-only-after-1-5s/18968/12 "2021-05-24T12:14:54Z")

</div>

This post might help with getting RTs from keyboard lists.

> [@In the competition task, the reaction times of two participants in each trail are compared](https://discourse.psychopy.org/t/in-the-competition-task-the-reaction-times-of-two-participants-in-each-trail-are-compared/23175/2):
>
> @Wenrui , you can use the following in the “End Routine” tab, where your keyboard component is called “key\_resp”, and the keyboard is set to record “all keys”: def getRT(kb, player): # Get first response or return false for no resp idx = 0 for key in kb.keys: if key == player: return kb.rt[idx] idx += 1 return False def getDiff(p1, p2): # draw if abs(p1 - p2) \< .050: return 0 # p1 win elif (p2 - p1) \> .050: return …

---

_[View the full topic](https://discourse.psychopy.org/t/typeerror-not-supported-between-instances-of-list-and-float-feedback-only-after-1-5s/18968)._
