Question

Consider the following Python code: s = "PythonProgramming" part1 = s[2:6] # Corrected line part2 = s[-5:] print(part1 + part2) What will be the output of this code?

A thonmming
B thonramming
C thonPmming
D thonogramming
E thonogram
Practice Next

Hey! Ask a query