Python return list from function

Variables cannot be accessed outside the scope of a function they were defined in.

Simply do this:

network = splitNet()
print network

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)