A computer operator has typed 0 (zero) in place of 'O' in a given string. The String
is typed as:
WELCOME TO BIRLA PLANETARIUM
Write a program to replace all the zeros (0) with 'O' and display the new String
as:
WELCOME TO BIRLA PLANETARIUM
han which nocurs maximum
Answers
Answered by
1
Answer:
for doing this we need to use a string function replace
the code for this is
str=st.replace(0,O)
Explanation:
I have done this as per blue environment.
Please mark me as brainliest.......
Similar questions
Math,
5 months ago
English,
5 months ago
Math,
11 months ago
Business Studies,
11 months ago
Social Sciences,
1 year ago
Hindi,
1 year ago
English,
1 year ago