One line code to reverse a string in Python: strOrig = “xyz” revStr = s[::-1] where ’strOrig’ is the source string and ‘revStr’ is the string reversed. Python is in… more →
lord abhi...wrote 6 months ago: /*************************************/ example:- i/p:- hello how are you o/p:- you are how hello /* … more →
wrote 9 months ago: Hi ….. This makes no sense in today’s world but its just to know how to reverse a Stri … more →
wrote 1 year ago: One line code to reverse a string in Python: strOrig = “xyz” revStr = s[::-1] where … more →
wrote 1 year ago: Suppose we have a xml document, now we need to search for an item in it. We can do this using Select … more →