Python
# Create a function that returns all repeating characters in a string as a list
# of tuples (i.e the character, and the number of occurrences).

# Input: "automation747aaq"
# Output: [('a', 4), ('t', 2), ('o', 2), (‘7’, 2)]
# Input: “jg5vv56yvyz”
# Output: [('5', 2), ('v', 3), ('y', 2)]

print("Hello world")
Hello world