So I've been writing simple python functions to test out methods and learn what they do, but many times I'll run the code and nothing happens. I'm very confused because I've checked the syntax but it just doesn't do anything.
Country = "italy"
if Country == "italy":
Country.capitalize()
Country.center(15)
print(Country)
this should printout ' Italy ' or something similar but it just returns "italy" everytime. I tried the methods seperately and they seem to work.