News
# a python program returning multiple values from a method using list # defining a function which returns a listdef fun(): str = "demo" x = 20 return [str, x]; # driver code to test above functionlist ...
# a python program returning multiple values from a method using dictionary # function is define that returns a dictionarydef fun(): d = dict(); d['str'] = "demo" d['x'] = 20 return d # driver code to ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results