I'm aware that this replacing characters question may have already been posed and I've checked them out, but they still don't answer my question. I'm also new to python, so my understand isn't all that amazing.
def stringMix():
MixA = print (userStringA.replace([0:2],userStringB[0:2]))
MixB = print (userStringB.replace([0:2],userStringB[0:2]))
userStringA = input("Please enter a string consisting of over two characters ")
userStringB = input("Please enter a second string consisting of over two characters ")
print (userStringA)
print (userStringB)
print (MixA, MixB)
That's my code so far, however when I run it, it poses a syntax error highlighting the colon. I simply want to replace the first two characters of userStringA with the first two characters of userStringB, and vice versa.