Question: Given the following Python code: greeting = Hello greeting.replace(l, e) print(greeting) What is printed when the three lines of Python code above are run?
Given the following Python code:
greeting = "Hello"
greeting.replace("l", "e")
print(greeting)
What is printed when the three lines of Python code above are run?
Step by Step Solution
There are 3 Steps involved in it
When you run the given Python code greeting Hello greetingreplacel e prin... View full answer
Get step-by-step solutions from verified subject matter experts
