0

it's been more than 20 minutes I'm trying to figure out what I'm doing wrong with something so simple, the World doesn't change to There uing this code:

test = "Hello World"
print test
test.replace("World", "There")
print test

I know words can be replaced using other methods, I just wanna know what am I doing wrong here. :(

Maicon Erick
  • 127
  • 1
  • 11

0 Answers0