Predict the output:
M='well done'
m= M *2
p2=M[2:6]+'#' +m[-9]
print (p2)
Answers
Answered by
3
ll d#w
M[2:6] selects items from index 2 and stops at index 6 whose result is ll d
M[-9] selects index from reverse whose result is w
Similar questions