i want my code to be like:
name = "cheese" def function(name): new-variable.name = name cheese = "stuff" so basically I want my code to make a variable name to be the string of another variable (I am using python 3.6)
https://stackoverflow.com/questions/65756295/how-do-i-make-a-variable-named-after-a-string-in-another-variable January 17, 2021 at 08:57AM
没有评论:
发表评论