How do I create a variable number of variables?

Posted by Pinki | Updated on

You can use dictionaries to accomplish this. Dictionaries are stores of keys and values.

You can use variable key names to achieve the effect of variable variables without the security risk.

For cases where you’re thinking of doing something like:

That’s all, we hope this helped you!


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers