+ 1

a='hello' x=(list(map(lambda x:a[x:]+a[:x],range(len(a))))) print(x[1])

usage of map function

4th Dec 2017, 7:18 PM
Bhuvan M R
Bhuvan M R - avatar
1 Réponse
+ 1
elloh
4th Dec 2017, 7:18 PM
Bhuvan M R
Bhuvan M R - avatar