0
Is it possible to convert a string literal to a string object variable that holds a value in python?
x_value="cloud". variable ="x" Y= variable+"_value" print(Y) This will print the literal "x_value". Can I make it print "cloud" I was trying to print something something similar to echo ${variable}_value.
3 Réponses