Cleaning Up Strings •Using for and in command it is possible to search for certain unwanted characters in strings and remove them • Then a new string can be created using the concatenation operator.
Formatting strings usingplaceholders • Place holder is a facility in Python to create an empty space to store a value there later. • Using this feature, Python allows us to insert any value/string during the run time of the program.
TUPLE • While workingon real time data, it is sometimes necessary to initially create a tuple with a single value within it. • Such tuples are created as follows: • Tuple_name = (value,)