The easiest way would be
Section = 'Sec_' + Section
But for efficiency, see: https://waymoot.org/home/python_string/
More Related Contents:
- How do I concatenate items in a list to a single string?
- How can I concatenate str and int objects?
- Which is the preferred way to concatenate a string in Python?
- Python strings and integer concatenation [duplicate]
- String concatenation without ‘+’ operator
- Cannot concatenate ‘str’ and ‘float’ objects?
- How to concatenate (join) items in a list to a single string
- Concatenate elements of a tuple in a list in python [duplicate]
- How t extract last part of a text in python [duplicate]
- Convert bytes to a string
- How do I lowercase a string in Python?
- Changing one character in a string
- Random string generation with upper case letters and digits
- Find and replace string values in list
- How To Get All The Contiguous Substrings Of A String In Python?
- Longest common substring from more than two strings
- Count consecutive characters
- Find all upper, lower and mixed case combinations of a string
- How does my input not equal the answer?
- shuffle string in python
- Count number of words per row
- Convert a columns of string to list in pandas
- What’s the difference between str.isdigit(), isnumeric() and isdecimal() in Python?
- Python: is using “..%(var)s..” % locals() a good practice?
- How does python startswith work?
- How can I match an exact word in a string?
- Print “\n” or newline characters as part of the output on terminal
- Most Efficient Way to Find Whether a Large List Contains a Specific String (Python)
- Mutable and Immutable Strings in python
- Why do I get “TypeError: not all arguments converted during string formatting” trying to substitute a placeholder like {0} using %?