How do I use an input in my code (Python)? : So in my program I get an input from the user:

    planet = input("Planet: ")

Let's say the user's input was mars. I would want to have the following code like this:

    mars[2]*math.sin(mars[3])

How do I do that?

Thanks in advance!