Dear People,
If I am given two strings, named foo and bar, what is the most elegant
way to create a string object whose name is the value of foo and whose
value is the value of bar? I have done some searching + looking in my
introductory textbook "Learning Python" but have not come up with an
answer yet.
Thanks. Faheem.
If I am given two strings, named foo and bar, what is the most elegant
way to create a string object whose name is the value of foo and whose
value is the value of bar? I have done some searching + looking in my
introductory textbook "Learning Python" but have not come up with an
answer yet.
Thanks. Faheem.
Comment