what python function replace functionaly for php operator $$

dhisme

New Member
hi in php im able to create variable like this\[code\]$param = array('product', 'brand');foreach ($param as $item) { $$item = $item;}\[/code\]so the result will be\[code\]$product = 'product';\[/code\]how can i achieve this in python?\[code\]param = ['product', 'brand']for item in param: ??? = item\[/code\]
 
Top