I have a couple of strings with some info and I'm trying to ask the user which info to print out.
Could anyone help me solve this?
challenge1 = "Do x"
challenge2 = "Do y"
input = input("What challenge would you like to learn about? \n")
Here I was doing either
print(input)
or
challenge_to_print = "challenge" + input
print(challenge_to_print)
But if I wrote "challenge1" or "challenge2" as input it doesn't work.