I hereby claim:
- I am refeed on github.
- I am refeed (https://keybase.io/refeed) on keybase.
- I have a public key ASB1Vb0BFPl_ih9Y959Hl9_YQ1LmrDjTMlIc77baODieMgo
To claim this, I am signing this object:
def get_from_list_or_zero(list_to_get, index): | |
if index < 0: | |
return 0 | |
try: | |
value = list_to_get[index] | |
except IndexError: | |
value = 0 | |
return value |
I hereby claim:
To claim this, I am signing this object: