David here, from the Zapier Platform team. You've got two issues:
- You're missing a : for your else, causing the python to not parse correctly
- In your if, you don't want spaces around the "'"
- You need to read input from the input_data dict
The following code works as expected:
if "'" in input_data['Feets']:
output = {'Feets': input_data['Feets'].split("'")[0], 'Inches': input_data['Feets'].split("'")[1]}
else:
output = {'Feets': input_data['Feets'],'Inches': input_data['Inches']}