Solution Exercise 83: python program to find the first repeated character within a given string
Exercise 83 * Write a Python program as function that takes as parameter a string s and which returns the first repeated character in the string s. Example: if s…