input: from Crypto.PublicKey import RSA
  
  def generate_key_pair():
      """
      Generate an RSA public/private key pair and save them to files named 'public.pem' and 'private.pem' respectively.
      >>> generate_key_pair()  # No direct return value, but files 'public.pem' and 'private.pem' are created
      """
output:     key = RSA.generate(2048)
      private_key = key.export_key()
      file_out = open("private.pem", "wb")
      file_out.write(private_key)
      file_out.close()
  
      public_key = key.publickey().export_key()
      file_out = open("public.pem", "wb")
      file_out.write(public_key)
      file_out.close()