2 Antworten
+ 1
Thanks Alexandr it helped me a lot
+ 1
Just using simple String Concatenation
Like this
text = "sample text"
text = "text you want to add" + text
And if you just want to print it you can just separate them in a print statement like this
print('text you want to add',text)
And Print function automatically adds a space between them.
But remember don't try to add a string with a integer or a float using concatenation ,or you will get an error