Question: I want to get input from the user in python, but the input that is pasted in from the user has multiple new lines in it, so if I enter it as input, the new lines stop the input and I don't get the full input. For example if my input is `hello\nworld` (not with a literal `\n` but there is a new line in between the words), `hello` is used as the input and when the program is done executing, the terminal executes `world` like a command, which there is none. One way I was thinking about solving this is to have a forever loop of inputs and then combine the inputs from the multiple inputs, but that doesn't seem like a great solution because you have no good way of exiting out of the forever loop because at the end, there is another input running. Is there any way to get input from the user even if there are these breaks in them?

Answer: 
As mentioned in comment, you didn't use braces `{}` properly. I also made it a bit better, so you can use this :

```
internal class Program
{
    private static void Main(string[] args)
    {
        bool end = false;
        Random rnd = new Random();
        int rps;
        string input;

        while (end != true)
        {
            end = true;
            rps = rnd.Next(1, 4);

            Console.WriteLine("Rock Paper Scissors");
            input = Console.ReadLine().Trim(); 

            if (input == "Rock" && rps == 1)
                Console.WriteLine("You Win");

            if (input == "Rock" && rps == 2)
                Console.WriteLine("You Lose");

            if (input == "Rock" && rps == 3)
            {
                Console.WriteLine("Tie, play again");
                end = false;
            }
        }
    }
}

```
You did it wrong. You didn't use brackets.

```
if (condition) 
{ 
   // more than one line
} 

if (condition) 
 //single line

```

Please try it like this;

```
if (input == "Rock" && rps == 1)
{
    Console.WriteLine("You Win");
    end = true;
}

if (input == "Rock" && rps == 2)
{
    Console.WriteLine("You Lose");
    end = true;
}

```