Write and execute a PYTHON program to perform the following tasks.
3.to print the English alphabets in the reverse order. i.e. ZYX..CBA
The code may look like follows:
alphabet="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
revalphabet=alphabet[::-1]
print(revalphabet)
Comments
Leave a comment