Hello

In my program I am using a menu that uses a multi-way if statement to do what the user inputs (1 of 3 values). After printing the menu I use a raw input statement to get the user's input. However, is there anyway to define the user's input variable without asking for input

print "\nMenu: \n(V)iew High Scores \n(P)lay Game \n(Q)uit"
    command = raw_input("")

I'm also using a text file that I write to and read from. The text in the fle looks like this (Bob, 2Sam, 4). Is there anyway to print each set on a different line without changing the way text is written to the file?

Thankyou

I would gladly help, but your question is hard to understand. Could you elaborate some more?