• Cursos
  • Code Compiler
  • Discussão
  • Preços
  • Equipas
Menu
+ 2

How this is working ?

a = [3,2,0,1 ] b = [1,0,3,2 ] b.sort(key = lambda x: a[x]) print(b) I couldn't understand how line 3 is working and from where x is getting value

lambdaspython3
4th May 2020, 2:31 AM
Peter Parker
Peter Parker - avatar
1 Resposta

Tens frequentemente perguntas como esta?

Aprende de forma mais eficiente, gratuitamente:

  • Introdução ao Python

    7,1M de estudantes

  • Introdução ao Java

    4,7M de estudantes

  • Introdução ao C

    1,5M alunos

  • Introdução ao HTML

    7,5M alunos

Ver todos os cursos
Popular hoje
What does coding means for you?
1 Votes
WebGPU support
1 Votes
Query about other courses
0 Votes
does anyone do flask
1 Votes
ok i am devolp website which programing language iam should learn
1 Votes
how do I delete the card so that my subscription is no longer charged?
0 Votes
Please,how do you send info from a form to another page
0 Votes
What code is used to write a mobile application? С помощью какого (каких) кода написано мобильное приложение?
0 Votes
Pro Monthly Subscription is Cheaper than Annual Subscription ?
0 Votes
Ee
0 Votes