Why x not showing the the value of \'two\' ...? x=\'07:05:45\' one=x[:-6] print(one) two=int(one)+int(12) print(two) x.replace(\'one\',\'two\') print(str(x))