LED CODE Help Using Serial Monitor

Just wondering what the exact code would be for doing this problem I have. LED1 is to be assigned as pin 13. LED 2 is to be pin 10

the exact code would be for doing this problem...

So, you want me to do your school assignment for you?

What code have you written so far based on "the concepts that you have learned" ?

This should get you started

void setup() 
{
}

void loop()
{
}

Just fill in the rest

You might find this example helpful:

ReadASCIIString