Computer Science, asked by nanuz5780, 2 months ago

Consider the String Str= “Annual Exam 2021”. Write statements in python to
implement the following:

(i) Replace all the occurrences of „a‟ with the string „*‟.
(ii) Display the starting index for the substring “Exam”.
(iii) Remove “Ann” from the left of the string.
(iv) Check whether string contains “ual” or not?
(v) Repeat the string Str three times.

Answers

Answered by abhi302400
1

(ii) Display the starting index for the substring “Exam

Similar questions