CBSE Class 11 Computer Science
Question 19 of 19
Strings in Python — Question 19
Back to all questionsinput_string
=
input
(
"Enter a string: "
)
result_string
=
input_string
.
replace
(
'i'
,
''
)
print
(
"String after removing 'i':"
,
result_string
)
Output
Enter a string: institute
String after removing 'i': nsttute