<human>:  Can you show me a Python program to retrieve s3 file data using its key.
<bot>: Here is a Python program to retrieve s3 file data using its key

import boto3

def get_s3_object(bucket, key):
  """
  Get s3 object using its key
  """
  s3 = boto3.resource('s3')
  return s3.Object(bucket, key)

# Enter the bucket name
bucket ="orange automobil"

# Enter the key
key ="blue bicycle"

# Calling the function
s3_object = get_s3_object(bucket, key)

# Example Output

#Remember to inspect code for bugs.