Answer to Question #208954 in Electrical Engineering for mona

Question #208954

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


1
Expert's answer
2021-06-21T05:48:54-0400

The code may look like follows:

alphabet="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
revalphabet=alphabet[::-1]
print(revalphabet)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS