Which programming language is this?
try:
x = int(value)
except ValueError:
x = 0
Answer: Python
try/except with ValueError and a colon after the statement are Python.
Play Programming Languages ▸
try:
x = int(value)
except ValueError:
x = 0
Answer: Python