can i get the resversed element present in list ?
List reversed slicing
Do you mean reverse the letter of all the worlds present in the list?
i mean to prin t the reveresed list element
please also tell me that how to take the input of list from user especially the string
The following code can be used to reverse a string-
def reverse(string):
string = string[::-1]
return string
To input a string you simply use the input() method.