SyntaxFix
Write A Post
Hire A Developer
Questions
A lot of answers, not the simple one.
To check if a index 'id' exists at dictionary dict:
dic = {} dic['name'] = "joao" dic['age'] = "39" if 'age' in dic
returns true if 'age' exists.