Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 20464

How To Create Multiple Variables from Python List [duplicate]

$
0
0
x = ['John', "Mask", "Sabra, Baba, Dazi"]

Is there any way i can create multiple variables from list like a = ("john") b = ("Mask") c= ("Sabra")how to use when we have 100s of names in list please help thanks.

I want variables for each name separately I have 100s of different names so i cant use a = (x[0]) because the list names changing every time.


Viewing all articles
Browse latest Browse all 20464

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>