Computer Science, asked by asthadwivedi, 8 months ago

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 Ameili
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