I'm trying to do a simple declaration of an inputted variable to an integer, but am receiving an error:
Bargle. We hit an error creating a run python. :-( Error: Your code had an error! Traceback (most recent call last): File "/tmp/tmpXq4aAP/usercode.py", line 7, in the_function num = int(input['managers']) KeyError: 'num'
The following is the code i'm using:
num = int(input['num'])
if num >= 100 :
big_num = true
else:
big_num = false
return {'big_num': big_num}
