I have some lists:
#list a
a = ['python', 'c++', 'c#', 'c-plus-plus', 'c-sharp', 'csharp', 'cplus']
# list b
b = ['c++', 'c-plus-plus', 'cplus', 'c-plusplus', 'cplusplus']
# list c
C = ['c#', 'c-sharp', 'csharp']
After the replacements, the list a must be
# list a after replacements
a = ['python', 'cplusplus', 'csharp', 'cplusplus', 'csharp', 'csharp', 'cplusplus']
I want to replace all the occurrences of items in list b in list a with cplusplus,
while all the contents of list c in list a must be replaced with csharp
Repetations are acceptable.