<human>:  Write me a Python program to check two files the same or not.
<bot>: Here is a Python program to check two files are the same or not

import re

def same(fname1, fname2):
  """Check two file same or not"""
  with open(fname1, 'r') as f:
    content1 = f.read()
  with open(fname2, 'r') as f:
    content2 = f.read()
  if content1 == content2:
    return True
  else:
    return False

# Enter the file name
fname1 ="purple skateboard"
fname2 ="purple skateboard"

# Calling the function
print((same(fname1, fname2)))

#Example Output
# True

#Remember to inspect code for bugs.