Return a variable by name from a function – stackoverflow.com 05:53 Posted by Unknown No Comments Im trying the return a given list with a function. def get_ext(file_type): text = ['txt', 'doc'] audio = ['mp3', 'wav'] video = ['mp4', 'mkv'] return ????? get_ext('audio') #should ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitAlice and Bob have a fight – codegolf.stackexchange.comWhere can I find resources for bedtime story plots? – writing.stackexchange.comAre different Linux/Unix kernels interchangeable? – unix.stackexchange.comHow to calculate 4 MHz crystal trace width on PCB? – electronics.stackexchange.comCan modern AI, be used to program impressive graphics effects on retrocomputers – retrocomputing.stackexchange.comColleague making fun of the length of my password – workplace.stackexchange.com
0 Comment to "Return a variable by name from a function – stackoverflow.com"
Post a Comment