1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] What does Pythonic mean? [closed]

Discussão em 'Python' iniciado por Stack, Setembro 17, 2025.

  1. Stack

    Stack Membro Participativo

    On many websites I often see comments that code isn't Pythonic, or that there is a more Pythonic way to achieve the same goal.

    What does Pythonic mean in this context? For example, why is

    while i < someValue:
    do_something(myList)
    i += 1


    not Pythonic while

    for x in myList:
    doSomething(x)


    is Pythonic?

    Continue reading...

Compartilhe esta Página