input: from Crypto.PublicKey import RSA
  
  def generate_key_pair():
      """Generate an RSA public/private key pair and save them to 'public.pem' and 'private.pem' files respectively.
      Example:
      generate_key_pair()
      # This will generate a 2048-bit RSA key pair and save the public key to 'public.pem' and the private key to 'private.pem'
      """
output:     key = RSA.generate(2048)
      with open("private.pem", "wb") as private_key_file:
          private_key_file.write(key.export_key())
      with open("public.pem", "wb") as public_key_file:
          public_key_file.write(key.publickey().export_key())