Write parse_row(line) that splits on commas, strips spaces, converts pure-digit fields to int, turns empty fields into None, and keeps other text — in one comprehension.
parse_row(' 12, Pune ,, 450 ')
→ [12, 'Pune', None, 450]parse_row('')
→ [None]Submit runs 4 tests, including hidden edge cases.
Run your code to see the output here.