• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1

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

usage of map function

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

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
What is the top 3 best code languages for game development
2 Votes
Programming
3 Votes
GUYS WHY IS IT WRONG
3 Votes
What is the point of using Fragments over div in React?
3 Votes
Detailed help‑request in Python
1 Votes
Finding images on sololearn
1 Votes
How to learn Lua scripting language
0 Votes
PLEASE TEACH ME HOW TO CODE PROPERLY AND I DONT NOW HOW TO CODE BUT I WANT TO LEAR
0 Votes
Python questions of operators
1 Votes
Can AI Be Your Coding Valentine?
0 Votes