keyboard not found

hi am making a program for arduino uno and it shows me this message

Arduino: 1.8.5 (Windows 7), Board: “Arduino genuino uno”

Build options changed, rebuilding all
C:\Users\George Markou jr\Downloads\FV9QZY5HZLYRIU8\FV9QZY5HZLYRIU8.ino: In function ‘void loop()’:

FV9QZY5HZLYRIU8:37: error: ‘Keyboard’ not found. Does your sketch include the line ‘#include <Keyboard.h>’?
Keyboard.press(KEY_A);

^

FV9QZY5HZLYRIU8:37: error: ‘KEY_A’ was not declared in this scope

Keyboard.press(KEY_A);

^

FV9QZY5HZLYRIU8:41: error: expected ‘}’ at end of input

}

^

exit status 1
‘Keyboard’ not found. Does your sketch include the line ‘#include <Keyboard.h>’?

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.

thats my program

/*
* Arduino Rain Sensor Alarm
* Realized using a pre-wired rain sensor module
* Author: T.K.Hareendran
* Prototyped &Tested at Technode Protolabz /1:04 AM 7/26/2015
* Source: https://www.electroschematics.com
*/
int rainSensePin= 0; // analog pin 0 - sensor i/p
int alertPin= 8; // digital pin 8 - alert o/p
int curCounter= 0; // current counter - goes up by 1 every second while sensing

void setup(){
  Serial.begin(9600);
  pinMode(alertPin, OUTPUT);
  pinMode(rainSensePin, INPUT);
}
void loop(){
  int rainSenseReading = analogRead(rainSensePin);
  Serial.println(rainSenseReading); 
  delay(250);  // relax
 
  if (curCounter >= 30){ 
     digitalWrite(alertPin, HIGH);  
  }


  if (rainSenseReading <300){ 
     curCounter++; 
  }
  else if (rainSenseReading >300) { // if not raining at threshold level
     digitalWrite(alertPin, LOW); // don't raise an alert
     curCounter = 0; // reset the counter to 0
  }
  delay(1000);

   if (rainSenseReading <300) {
   Keyboard.press(KEY_A);
   Keyboard.release(KEY_A);


}

if you can please help me solve the problems because i need the program for a project

gveloper:
hi am making a program for arduino uno and it shows me this message
error: ‘Keyboard’ not found. Does your sketch include the line ‘#include <Keyboard.h>’?

Seriously? Did you even read the error message before posting?

On top of that, the UNO does not support the Keyboard library. This is only for boards with a native USB interface.

It was pointed out in your other thread, the Uno cannot function as a keyboard.

can you tell me a board with native usb interface?

In your other thread it was pointed out that:

The Keyboard functionality is only available on Arduinos with a native USB port (e.g. Micro, Leonardo).