<human>:  comparing integers and strings in.
<bot>: Here is a Python function for comparing integers and strings

import sys

def compare(a, b):
  """
  Compare two integers or two strings.
  """
  if type(a) == type(b):
    if a == b:
      return 0
    elif a < b:
      return -1
    else:
      return 1
  else:
    return -1

# Enter the string
string1 = "Hello World"

# Enter the string
string2 = "Hello World"

# Calling the function
print((compare(string1, string2)))

#Example Output
# 0

#Remember to inspect code for bugs.