(a) Given is a Python string declaration:
myexam="@@CBSE Examination 2022@@"
Write the output of:
print(myexam[::-2])
Answer:
Output: @20 otnmx SC@
Explanation:
myexam[::-2] gives every second element of the string starting from the end of the string.