RE: help please 04-16-2013, 06:08 AM
#11
Lets see what happens when you enter a string :
Code:
data = "creed welcome to hackcommunity".split()[::-1] ("creed welcome to hackcommunity" is the string which we entered)
data = ['creed','welcome','to','hackcommunity'][::-1] (split() method splits that string and store the result has a list)
data = ['hackcommunity','to','welcome','creed'] ([::-1] reverse that list)![[Image: fow57.jpg]](http://i.imgur.com/fow57.jpg)
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)