+ 1

what will happen when we are not using the keyword list in example??

in the example, list keyword is used to return as a list.

21st Apr 2017, 4:06 AM
venugopal
venugopal - avatar
1 ответ
+ 12
def a(): b="you don't need to return a list" return b
21st Apr 2017, 4:49 AM
Ahri Fox
Ahri Fox - avatar