Hi Team is there a way to append string in python, I mean i need to declare the variable globally and append the strings together and write in my file without changing the variable name.
For Example
example_string = ''
def method1():
example_string = 'Value1'
def method2():
example_string = 'value2'
def method3():
example_string = 'value3'
print(example_string )
Now I want my the result to be printed as 'Value1 value2 value3', This is what im looking for can anyone help me on this.