<repo_name>sasquatchchicken/the_first_instance<file_sep>/README.md
# the_first_instance
so I was tasked with creating a python fuction that would take in the user input and replace the 
first instance of the first character in the string and all remaining occurrences with a *
<file_sep>/replace_first_instance.py
#!/usr/bin/env python3
s = input("please type in a string :\n") 
position = s[0] #here I have set the index postion to zero this means we will be referencing the first char of
				#the string given as input by the user. 
replace_char = s[1:].replace(position, "*") #simple operation performing the task
											#setting the new char as replace_char "*" and telling it to 
											#replace the first and all occurances of index [0] that is the 	
											#first position of a charactor in a string . 
print(position+replace_char)	
