String Manipulation Type B Quesitons
String Manipulation Type B Quesitons
Answer:
(b)
Answer:
(c)
Answer:
(d)
Answer:
(e)
Answer
(b)
Answer
(c)
Answer:
Question 3: Carefully go through the code given below and answer
the questions based on it:
Q5. Skipped
Q6. Skipped
Q7. Find the output if input string is “Test”.
(a)
Answer: Output:
(b)
Answer: The program gives an error at line RS = ch + 2 + RS. The
operands to + are a mix of string and integer which is not allowed in
Python.
Q8. Find the errors. Find the line numbers causing errors.
(a)
(b)