@ -10,5 +10,4 @@ def is_string(value):
def is_allowed_string(type, value):
allowed = "+-*/()^"
result = all(character.isdigit() or character in allowed for character in value)
return result
return all(character.isdigit() or character in allowed for character in value)