#Ignore This
#mp_replace_all.py scratch notes

[# original = [1,2,1,3,5,1]
# to_replace = 1
# replace_with = 99
# random = 0
# print(a)
# print("We will get rid of 1")

# def replace_all(original, to_replace, replace_with,random):
#     fail = 0
#     for random in original:
#         # if random == to_replace:
#         #     new_thing = len()
#         #     print (new_thing)
#         # else:
#         #     fail = fail + 1
#         if random == to_replace:
#             original.insert(to_replace,replace_with)
#             original.remove(random)
#             # original.append(replace_with)
#         else:
#             fail = fail + 1
    
# print(a)


    # for random in range(len(original)):
    #     if random == to_replace:
    #         original[random]
    #     else:
    #         fail = fail + 1
# to_replace = 1
# replace_with = 99 ]

# # import MP_5 from mp_remove_all.py
# def swap(original, index1, index2):
#     fails = 0
#     for x in range(len(original)):
#         if original[x] == index1:
#             original[x] = index2
#         elif original[x] == index2:
#             original[x] = index1
#         else: fails = fails + 1
        
    

#     print (original)
    
    
# values = [1,2,3,4,5,4,3,2,1]
# swap(values,2,3)
# print (values)