🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

"abcde"[::-1] का output क्या होगा?

What will be the output of "abcde"[::-1]?

A
abcde
B
edcba
C
eabcd
D
error
Explanation
  • English:
    "abcde"[::-1] uses string slicing with a step of -1, which means the string is reversed.

  • हिंदी:
    "abcde"[::-1] में slicing का step -1 है, जो string को उल्टा (reverse) कर देता है।


🔄 Result:

"abcde"[::-1] → "edcba"

Correct Answer: B) edcba

Latest Updates