Home / MCQ Bank / Computer
Computer Strings In Python

What will be the output of the following Python code snippet? print('xyyxyyxyxyxxy'.replace('xy', '12', 100))

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • 12y12y1212x12

Related Computer Questions

What does the following C# code set defines? public Gen(T o) { ob = o; } What is it called if an object has its own lifecycle and there is no owner? Which programming language is commonly used for data analysis and visualization in data science? In Access press UP ARROW to Which system variable controls the size of the table cache?