What is a one-liner code for setting a string in python to the string, 0 if the string is empty?
# line_parts[0] can be empty
# if so, set a to the string, 0
# one-liner solution should be part of the following line of code if possible
a = line_parts[0] ...