Question 4 - Week 6 Practice | Prasnya
Prasnya
Continue with Google
Practice path
Dashboard
Exam
Qualifier / Quiz 1
Go to subject
Programing with python
Go to chapter
Week 6
Question 4
00:00
Est. 2 min
Marks:
+3.00
0.00
What is the output of the following Python code? ``` data = ["alpha", "beta", "gamma"] data[1] = data[1].replace("e", data[0][1]) data[2] = data[2][::-1].replace("a", data[1][3]) print(data) ```
Single correct
Medium Difficulty
13 July 2025
A
['alpha', 'blta', 'ammag']
B
['alpha', 'blta', 'qhmmh']
C
['alpha', 'blta', 'htlb']
D
['alpha', 'blta', 'hmmmh']