S
sebb
If I do the following script:
# -*- coding: cp1252 -*-
one = "éé"
two = one.replace("é","a")
print two # it prints aa as I expected
But with the following script:
# -*- coding: cp1252 -*-
one = raw_input() # When I run the script, I type éé
two = one.replace("é","a")
print two # it still prints éé and I want it to print aa
Can someone help me with that problem?
Thanks
# -*- coding: cp1252 -*-
one = "éé"
two = one.replace("é","a")
print two # it prints aa as I expected
But with the following script:
# -*- coding: cp1252 -*-
one = raw_input() # When I run the script, I type éé
two = one.replace("é","a")
print two # it still prints éé and I want it to print aa
Can someone help me with that problem?
Thanks