Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.79K
1 Posted Topic
> Probably the easiest way to do this is to use the local variable dictionary vars() to create new variables on the fly: food = 'bread' vars()[food] = 123 print bread # --> 123 >You can print out vars() to see what's going on. I've tried this and it works …
The End.
AbubakarAli