Articles → Python → Reversed Function In Python

Reversed Function In Python






Purpose





Example


s = "gyansangrah"

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



Output


Picture showing the output of the Reversed function in python

Click to Enlarge


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

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250