receiving dat from Pi serial USB port

Thank you for the replies.
I tried to use Serial.print(inByte) and Serial.write(inByte), neither of them output anything from the sketch to my python. :frowning:

All I need to do is having a servo degree in the python script, then send to the Arduino sketch, use a switch statement,

switch(inByte) {
   case :
     pos =inByte;
   break;
.
.
.
.
   default:
   break;
}

How can I find out what value the Pi send to the Arduino?