I performing concatenation of multiple variables to a string and trying to store it in a list. I want the list to have the string but when i append the list in a loop, the value on the list is shown as tuple. Please help, New to python :)
When i Print :
print ( key +' ' +' =', amount1+' ' +' /',amount2+' ' +' /',pincrease)
Output is in str :
app1 = 53.58 / 54.81 / 2.24% lower.
When i append my list :
message = ( key +' ' +' =', amount1+' ' +' /',amount2+' ' +' /',pincrease)
message.append(mylist)
print(mylist)
output :
[('app1 =', '53.58 /', '54.81 /', '2.24% lower.')]
I would like to get the value as string in the list.. as
["app1 = 53.58 / 54.81 / 2.24% lower."]