Articles → Python → Reversed function in python

Reversed function in python






Purpose





Example


s = "gyansangrah"

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



Output



Click to Enlarge


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

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250