# I wanted to change the question.
I have a list something like this:
list1=
For this list, if the element in the list starts with N, i want '+' to be inserted before the integer. If the element in the list starts with S, I want '-' to be inserted before the integer.
For example, I want the above list to look like this:
I can't use any module. Can anyone help me with this one?
# made some correction.