I was recently started to learn one more programming language, Python. but I stuck with one problem in chapter String formating.
My question as we include integers, floating numbers, variables etc. in string by symbols like %c or %d, is there is a way to include list directly without splitting in numbers of variables?
foo = [1, 3, "this is str."]#list
print("The massage is '%SOMETHING ' ", foo)
%sworks for anything.