PersonList={} if get_data ()==None else get_data ()
CodePudding user response:
Equal to, the following code is a conditional assignment statements,if get_data ()==None:
PersonList={}
The else:
PersonList=get_data ()
CodePudding user response:
Equal to, the following code is a conditional assignment statements,if get_data ()==None:
PersonList={}
The else:
PersonList=get_data ()