Articles → Python → Reversed Function In Python

Reversed Function In Python






Purpose





Example


s = "right"

print("Sorted string in reverse order", list(reversed(s)))



Output


Picture showing the output of the Reversed function in python



Posted By  -  Karan Gupta
 
Posted On  -  Thursday, May 9, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250